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

IDigitalPen.Fill [Property][Get/Set]

Gets or sets whether the pen fill is displayed.

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.


If the pen is filled, the area under the pen line will be filled with the color specified by the FillColor property.

See Also

IDigitalPen.FillColor [Property][Get/Set]


Calling Syntax

This example assumes there is a valid digital pen object to be passed into the example methods.


Sub Example(digitalPen As Object)
Dim fill As Boolean
`Getting Property value
fill = digitalPen.Fill
`Setting Property value
digitalPen.Fill = True
End Sub


FUNCTION Example(OBJECT hDigitalPen)
// Getting property value
INT nFill = _ObjectGetProperty(hDigitalPen, "Fill");
// Setting property value
_ObjectSetProperty(hDigitalPen, "Fill", -1);