Create  Edit  Diff  FrontPage  Index  Search  Changes  History  Source  RSS  wikifarm  Login

MapScript.Ja - labelObj.position Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

!!labelObj.position プロパティ

!!!説明
表示した地物に対してのラベルの位置。8方向。
public int position {get; set;}

Public Property position() As Integer

!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _class As New classObj(_layer)
Dim _label As labelObj

_label = _class.label
_label.position = MS_POSITIONS_ENUM.MS_CL
!!!!マップファイル
      LABEL
        ANGLE FOLLOW
        ANTIALIAS TRUE
        FONT "sans"
        MAXSIZE 256
        MINSIZE 4
        SIZE 12
        TYPE TRUETYPE
        BUFFER 0
        COLOR 100 100 100
        FORCE FALSE
        MINDISTANCE -1
        MINFEATURESIZE AUTO
        OFFSET 0 0
        OUTLINECOLOR 100 100 100
        PARTIALS TRUE
        POSITION CL
      END
!!!参照
[[labelObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]