Gets or sets the width in pixels of the pen line when it is drawn.
Defined As
Execution Result
If the property get/set succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument. If the pen is deleted the return value will be GeneralFailure.
Limits
Calling Syntax
This example assumes there is a valid Digital Pen object to be passed into the example methods.
[VBA]
Sub Example(digitalPen As Object)
Dim lineWidth As Long
`Getting Property value
lineWidth = digitalPen.LineWidth
`Setting Property value
digitalPen.LineWidth = 5
End Sub
[Cicode]
FUNCTION Example(OBJECT hDigitalPen)
// Getting property value
INT nLineWidth = _ObjectGetProperty(hDigitalPen, "LineWidth");
// Setting property value
_ObjectSetProperty(hDigitalPen, "LineWidth", 5);
END