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

AVEVA™ Plant SCADA

DspRichTextGetInfo

  • Last UpdatedJul 18, 2023
  • 1 minute read

Retrieves size information about the rich text object at animation point nAN.

Syntax

DspRichTextGetInfo(nAN, iType)

nAN:

The reference AN for the rich text object.

iType:

The following size information (in pixels) can be returned about the specified rich text object:

0 - Height

1 - Width

Return Value

The requested information as a string (units = pixels).

PageRichTextFile

Example

! Gets the height of the rich text object at AN 25 - if one exists.
iHeight = DspRichTextGetInfo(25,0);
! Gets the width of the rich text object at AN 423.
iWidth = DspRichTextGetInfo(423,1);

See Also

Display Functions

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