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.

Remarks

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]

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 fill As Boolean
`Getting Property value
fill = digitalPen.Fill
`Setting Property value
digitalPen.Fill = True
End Sub

[Cicode]

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