DspRichTextGetInfo
Retrieves size information about the rich text object at animation point AN.
Syntax
DspRichTextGetInfo(AN, iType)
AN:
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).
Related Functions
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