SimpleMarker3DSymbol の作成

投稿日:2016/9/1 (木) 更新日:

Dim pRgbColor As IRgbColor
Set pRgbColor = New RgbColor
pRgbColor.Red = 255
pRgbColor.Green = 0
pRgbColor.Blue = 0
 
Dim pSimpleMarker3DSymbol As ISimpleMarker3DSymbol
Set pSimpleMarker3DSymbol = pMultilayerMarkersymbol.layer(0) 'New SimpleMarker3DSymbol
pSimpleMarker3DSymbol.ResolutionQuality = 0.5
pSimpleMarker3DSymbol.Style = esriS3DMSTetra
 
Dim pBillboardDisplay  As IBillboardDisplay
Set pBillboardDisplay = pSimpleMarker3DSymbol
pBillboardDisplay.BillboardDisplay = True   '3Dオブジェクトの平面を固定表示
 
Dim pMarkerSymbol As IMarkerSymbol
Set pMarkerSymbol = pSimpleMarker3DSymbol
'pMarkerSymbol.Color = pRgbColor
 
Dim pMarker3DPlacement As IMarker3DPlacement
Set pMarker3DPlacement = pSimpleMarker3DSymbol
pMarker3DPlacement.Color = pRgbColor
Debug.Print pMarker3DPlacement.Width        'ディメンション - 幅
Debug.Print pMarker3DPlacement.Depth        'ディメンション - 高さ
Debug.Print pMarker3DPlacement.size         'ディメンション - サイズ

関連記事

-プログラミング, ArcGIS
-, ,

Copyright© WINGFIELD since1981 , 2018 All Rights Reserved.