Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IDigitalPen​.Fill [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets whether the pen fill is displayed.

Defined As

  • [VBA] Boolean Fill

  • [Cicode] INT Fill

  • [C++] VARIANT_BOOL Fill

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.

Limits

  • True (-1): = Fill is displayed

  • False (0): = Fill is hidden

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

See Also

IDigitalPen.FillColor [Property][Get/Set]

In This Topic
TitleResults for “How to create a CRG?”Also Available in