IPen.VerticalAxisResize [Property][Get/Set]
- Last UpdatedJul 18, 2023
- 1 minute read
Gets or sets whether this pen allows the operator to interactively scale the vertical axis by using the mouse.
Defined As
-
[VBA] Boolean VerticalAxisResize
-
[Cicode] INT VerticalAxisResize
-
[C++] VARIANT_BOOL VerticalAxisResize
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.
Limits
-
True (-1): Enable re-size
-
False (0): Disable re-size
Remarks
This only applies to analog pens.
Calling Syntax
Assumes you have passed a valid pen object into the function.
[VBA]
Sub Example(pen As Object)
Dim re-size As Boolean
`Getting Property value
re-size = pen.VerticalAxisResize
`Setting Property value
pen.VerticalAxisResize = False
End Sub
[Cicode]
FUNCTION Example(OBJECT hPen)
INT bResize;
// Getting current property value
bResize = _ObjectGetProperty(hPen, "VerticalAxisResize");
// Setting Property
_ObjectSetProperty(hPen, "VerticalAxisResize",0);
END