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

layerObj.type

layerObj.type プロパティ

説明

このレイヤーのタイプ。MS_LAYER_TYPE。 MS_LAYER_POINT, MS_LAYER_LINE, MS_LAYER_POLYGON,MS_LAYER_RASTER,MS_LAYER_ANNOTATION, MS_LAYER_QUERY, MS_LAYER_CIRCLE MS_LAYER_TILEINDEX

public MS_LAYER_TYPE type {get; set;}
Public Property type() As MS_LAYER_TYPE

サンプル

コード
Dim _map As New mapObj("")
Dim _layer As New layerObj(_map)

_layer.type = MS_LAYER_TYPE.MS_LAYER_POLYGON
マップファイル
 LAYER
   DATA "countries_simpl"
     METADATA
     END
   NAME "World"
   SIZEUNITS PIXELS
   STATUS ON
   TOLERANCEUNITS PIXELS
   TYPE POLYGON
   UNITS METERS
   CLASS
     METADATA
     END
     STYLE
       ANGLE 360
       COLOR 200 200 200
       OUTLINECOLOR 100 100 100
       SYMBOL 0
     END
   END
 END

参照

layerObj メンバ | (global) 名前空間

Last modified:2007/02/15 13:58:49
Keyword(s):
References:[layerObj メンバ]