It is now possible to set the scaling ratio of a map (eg. 1:2500) via automation in Surfer Beta
|ScalingRatio||Double||Yes||Returns/sets the X and Y map scale representative fraction|
- ScalingRatio must be > 0
- Proportional XY scaling must be applied to use the ScalingRatio property
- If setting the ScalingRatio will result in a map larger than the PlotSize (120" by default, controlled by File | Defaults | Miscellaneous | PlotSize) in either direction, then an error is issued.
Dim Surfer, Doc As Object Set Surfer = CreateObject("Surfer.Application")
Surfer.Visible = True Set Doc = Surfer.Documents.Add Set Map = doc.Shapes.AddContourMap(GridFileName:=Surfer.Path+"\samples\golden.grd") Map.ScalingRatio = 90000
Updated September 2020