Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.VerticalAxisWidth [Property][Get/Set]

IPen.VerticalAxisWidth [Property][Get/Set]

Gets or sets the width of the vertical axis line and the associated interval markers.

Defined As

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.


A valid width is 0-8 pixels.


This only applies to analog pens.

See Also

IPen.HorizontalAxisWidth [Property][Get/Set]

Calling Syntax

Assumes you have passed a valid pen object into the function.


Sub Example(pen As Object)
Dim width As Integer
`Getting Property value
width = pen.VerticalAxisWidth
`Setting Property value
pen.VerticalAxisWidth = 3
End Sub


INT width;
// Getting current property value
width = _ObjectGetProperty(hPen, "VerticalAxisWidth");
// Setting Property
_ObjectSetProperty(hPen, "VerticalAxisWidth", 3);