www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe Enterprise Products > TerraExplorer for Developers
  New Posts New Posts RSS Feed - How to Refresh a layer
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to Refresh a layer

 Post Reply Post Reply
Author
Message
aeshaq View Drop Down
Visitor
Visitor
Avatar

Joined: November 20 2009
Location: Saudi Arabia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote aeshaq Quote  Post ReplyReply Direct Link To This Post Topic: How to Refresh a layer
    Posted: November 20 2009 at 6:39am

Hi everybody , I want to Refresh a layer programmatically during run time
I’m using IinformationTree to find the layer , and GetLayer Method to get That Layer that i want to refresh
Here is the code 
  
       var ItemID = IInformationTree.FindItem ("mylayername");
      if(IInformationTree.IsLayer(ItemID))
          {
           var mylayer; 
           mylayer = IInformationTree.GetLayer(ItemID);
           mylayer.Refresh();
 
          }

BUT when I run this code , I get a message that the object does not support  this property or methode
Can someone help me ?
Thanks and best regards
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: November 30 2009 at 9:47am
Eylon
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.