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

scalebarObj.backgroundcolor

scalebarObj.backgroundcolor プロパティ

説明

背景色

public colorObj backgroundcolor {get; set;}
Public Property backgroundcolor() As colorObj

サンプル

コード
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)
    .imagecolor = New colorObj(0, 0, 255, 0)
    .style = 1
End With
マップファイル
 SCALEBAR
   BACKGROUNDCOLOR 0 255 0
   COLOR 255 0 0
   IMAGECOLOR 0 0 255
   INTERVALS 4
   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) 名前空間

Last modified:2007/04/17 16:09:30
Keyword(s):
References:[scalebarObj メンバ]