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

MapScript.Ja - scalebarObj.intervals Diff

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

!!scalebarObj.intervals プロパティ
!!!説明

public int intervals {get; set;}

Public Property intervals() As Integer
!!!サンプル
!!!!コード
Dim _scalebar As scalebarObj

_scalebar = _map.scalebar

With _scalebar
     .status = mapscript.MS_EMBED
     .units = MS_UNITS.MS_KILOMETERS
     .color = New colorObj(255, 0, 0, 0)
     .backgroundcolor = New colorObj(0, 255, 0, 0)
     .style = 1
     .intervals = 100
End With
!!!!マップファイル
  SCALEBAR
    BACKGROUNDCOLOR 0 255 0
    COLOR 255 0 0
    IMAGECOLOR 255 255 255
    INTERVALS 100
    LABEL
      SIZE MEDIUM
      TYPE BITMAP
      BUFFER 0
      COLOR 0 0 0
      FORCE FALSE
      MINDISTANCE -1
      MINFEATURESIZE -1
      OFFSET 0 0
      PARTIALS TRUE
      POSITION CR
    END
    POSITION LL
    SIZE 200 3
    STATUS EMBED
    STYLE 1
    UNITS KILOMETERS
  END
!!!参照

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