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

MapScript.Ja - legendObj.keysizex Diff

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

!!legendObj.keysizex プロパティ
!!!説明
個々の凡例の幅。ピクセル値。デフォルトは 20。
public int keysizex {get; set;}

Public Property keysizex() As Integer

!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _legend As legendObj = _map.legend

_legend.keysizex = 150
!!!!マップファイル
  LEGEND
    IMAGECOLOR 255 255 255
    KEYSIZE 150 10
    KEYSPACING 5 5
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
      POSITION CC
    END
    POSITION LL
    STATUS OFF
  END
!!!参照
[[legendObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]]]