logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How can I change post map labels?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful

To change post map labels, create the post map, assign it to the overlays collection and then you can change the post map label properties. For more information, please see Help | Surfer Automation Help | Objects | PostMap Object.
 
Set MapFrame = Shapes.AddPostMap(DataFileName:=SurferApp.Path+"\Samples\demogrid.dat")
Dim PostMap As Object
Set PostMap = MapFrame.Overlays(1)

'Label Column
PostMap.LabCol = 3

'Font for Labels
PostMap.LabelFont.Face = "Arial Narrow"

'Number of Digits
PostMap.LabelFormat.NumDigits=5

Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products