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

AVEVA™ Plant SCADA

ClipSetMode

  • Last UpdatedJul 18, 2023
  • 1 minute read

Sets the format of data sent to the Windows clipboard.

Syntax

ClipSetMode(nMode)

nMode:

The mode of the data:

1 - ASCII Text

2 - CSV (Comma separated values) format

You can select multiple modes by adding modes together.

Return Value

The value of the previous mode.

ClipCopy, ClipWriteLn

Example

/* Set the clipboard to CSV mode, write two values, and reset the
clipboard to the original mode. */
nOldMode = ClipSetMode(2);
ClipCopy("100,200");
ClipSetMode(nOldMode);

See Also

Clipboard Functions

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