Collar Object

 

The Collar object controls all the aspects of a map collar. Map collars are created with CreateMapCollar.

 

Properties

Application

CollarFill

CollarHeight

CollarLeft

CollarLine

CollarTop

CollarWidth

LabAngle

LabFreq

LabOffset

NumSubDivisions

Parent

SameLabOrient

ShowCollar

ShowMinorTick

ShowTick

ShowUnitName

TickLabFont

TickLabFormat

TickLength

TickLine

TickShowLab

TickSpacing

UnitType

 

Methods

SetCollarLimits

SetTicks

 

Example

'Create an instance of the MapViewer Application Object and assign it to the variable named "mvApp"

Set mvApp = CreateObject("MapViewer.Application")

 

'Make the application main window visible

mvApp.Visible = True

 

'Create a map document object, and assign it to the variable named "Plot"

Set Plot = mvApp.Documents.Add(DocType:=mvDocPlot)

 

'Create a map collar object with outer tick marks and assign it to the variable named "Collar"

Set Collar = Plot.CreateMapCollar(ShowInnerTicks:=False, ShowOuterTicks:=True)