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

MapScript.Ja - referenceMapObj.outlinecolor Diff

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

!!referenceMapObj.outlinecolor プロパティ
!!!説明
参照範囲枠の色
public colorObj outlinecolor {get; set;}

Public Property outlinecolor() As colorObj
!!!サンプル
!!!!コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)
Dim _refmap As referenceMapObj

_refmap = _map.reference

With _refmap
     .color = New colorObj(0, 255, 0, 0)
     .outlinecolor = New colorObj(0, 0, 255, 0)
     .status = mapscript.MS_ON
     .height = 200
     .width = 300
     .maxboxsize = 300
     .minboxsize = 50
     .image = "c:\temp\bugnar.png"
     .extent = _map.saved_extent
End With
!!!!マップファイル
  REFERENCE
    COLOR 255 0 0
    EXTENT 140.378 37.7312 141.743 38.8581
    IMAGE "c:\temp\bugnar.png"
    OUTLINECOLOR 0 0 255
    SIZE 300 200
    STATUS ON
      MARKER "circle"
      MARKERSIZE 20
      MINBOXSIZE 50
      MAXBOXSIZE 300
  END
!!!参照

[[referenceMapObj メンバ]] | [[(global) 名前空間|http://wiki.fdiary.net/MapScriptJa]]