TitleOffset [ScaleBar] Property
TitleOffset returns or sets the label offset between the title and the scale bar and labels, in page units.
Syntax
object.TitleOffset
object.TitleOffset=TitleOffset
Parameter |
Type |
Description |
TitleOffset |
Double |
Returns or sets the label offset between the title and the scale bar and labels, in page units. |
Example
This example demonstrates how to set the title offset from the scale bar to -5 centimeters.
Dim Surfer As Object
Set Surfer = GetObject(,"Surfer.Application")
Surfer.Visible = True
Set doc = Surfer.Documents.Open(Surfer.Path+"\samples\Base.srf")
Set scale = doc.Shapes.Item("Map").ScaleBars.Item(1)
scale.TitleOffset = -5 'cm
Used by: ScaleBar object