www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe Enterprise Products > TerraExplorer for Developers
  New Posts New Posts RSS Feed - about the SetProperty  in IFeatureGroup6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

about the SetProperty in IFeatureGroup6

 Post Reply Post Reply
Author
Message
zdpiaopiao View Drop Down
Visitor
Visitor


Joined: December 23 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zdpiaopiao Quote  Post ReplyReply Direct Link To This Post Topic: about the SetProperty in IFeatureGroup6
    Posted: October 12 2011 at 10:33am
 
the method SetProperty of IFeatureGroup6

As follows:

 

void SetProperty(

      string Name,

      object Value)

 
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!

Back to Top
zdpiaopiao View Drop Down
Visitor
Visitor


Joined: December 23 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zdpiaopiao Quote  Post ReplyReply Direct Link To This Post Posted: October 28 2011 at 10:47am
Clap come on  !
if somebody known? or   understand my Problem description?
Back to Top
Eylon View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: May 05 2003
Location: Israel
Status: Offline
Points: 263
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eylon Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zdpiaopiao View Drop Down
Visitor
Visitor


Joined: December 23 2010
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zdpiaopiao Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.