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

AVEVA™ Plant SCADA

DspRichTextSave

  • Last UpdatedJul 18, 2023
  • 1 minute read

Saves the contents of the rich text object at animation point nAN, to the file Filename.

Syntax

DspRichTextSave(nAN, sFilename)

nAN:

The reference AN for the rich text object.

sFilename:

The name under which the contents of the rich text object will be saved. This name needs to be enclosed within quotation marks "", and needs to include the destination path. For example "[Data]\saved.rtf".

Return Value

0 if successful, otherwise an error is returned.

DspRichText, PageRichTextFile, DspRichTextLoad, DspRichTextEdit

Example

// These lines show two different ways of saving the contents of
the rich text object (at AN 25) to file DayRep.rtf//
DspRichTextSave(25,"[Data]\DayRep.rtf");
DspRichTextSave(25,"c:\MyApplication\data\DayRep.rtf");

See Also

Display Functions

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