![]() |
about the SetProperty in IFeatureGroup6 |
Post Reply
|
| Author | ||
zdpiaopiao
Visitor
Joined: December 23 2010 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: about the SetProperty in IFeatureGroup6Posted: October 12 2011 at 10:33am |
|
|
the method SetProperty of IFeatureGroup6
As follows:
If I want to use the SetProperty to set the AltitudeType so how to use the name and the value to assign to the property?
Thank you for your help! |
||
![]() |
||
zdpiaopiao
Visitor
Joined: December 23 2010 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: October 28 2011 at 10:47am |
|
|
if somebody known? or understand my Problem description?
|
||
![]() |
||
Eylon
Skyline Admin Group
Joined: May 05 2003 Location: Israel Status: Offline Points: 263 |
Post Options
Thanks(0)
Quote Reply
Posted: October 30 2011 at 8:48am |
|
|
Normally, the Value parameter expects the type for the specified property. For example, for “Line
Color” pass a long type value.
Properties that use a
pull-down menu in the Properties Sheet normally expect a 0-based index of the
pull down items. Meaning you should open the Properties Sheet for the layer you want to set, and see the order of the entries in the pull-down menu. To set the first one, use 0 (zero), for the second one use 1 and so on. There are some exceptions, but this is mostly the way to go.
|
||
|
Eylon
|
||
![]() |
||
zdpiaopiao
Visitor
Joined: December 23 2010 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: October 31 2011 at 2:37pm |
|
|
Eylon Thanks for help,
Before you answer , I have tried to use SetProperty("Altitude", 10)、SetProperty("Altitude", "10")、 SetProperty("Altitude Method", AltitudeTypeCode.ATC_TERRAIN_ABSOLUTE) or SetProperty("Altitude Method",3) or GetProperty("Altitude Method") to set but Unsuccessful, I will try as you suggested.
|
||
![]() |
||
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |