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

MapScript.Ja - legendObj.status Diff

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

!!legendObj.status プロパティ
!!!説明
この凡例を表示・非表示の設定。MS_TRUE,MS_FALSE,MS_EMBED。
public int status {get; set;}

Public Property status() As Integer

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

  _legend.status = mapscript.MS_EMBED
!!!!マップファイル
  LEGEND
    IMAGECOLOR 255 255 255
    KEYSIZE 20 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 EMBED
  END
!!!参照
[[legendObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]]]