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

IPen.HorizontalAxisWidth [Property][Get/Set]

Gets or sets the width of the horizontal 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.

See Also

IPen.VerticalAxisWidth [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.HorizontalAxisWidth
`Setting Property value
pen.HorizontalAxisWidth = 3
End Sub


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