InkClipboardModes enumeration (msinkaut.h)

Specifies the copy options of the Clipboard.

Syntax

typedef enum InkClipboardModes {
  ICB_Copy = 0,
  ICB_Cut = 0x1,
  ICB_ExtractOnly = 0x30,
  ICB_DelayedCopy = 0x20,
  ICB_Default = ICB_Copy
} ;

Constants

 
ICB_Copy
Value: 0
The ink is copied to the Clipboard.
ICB_Cut
Value: 0x1
The ink is cut and copied to the Clipboard.
ICB_ExtractOnly
Value: 0x30
The ink is not copied to the Clipboard. Typically, use this option if you want to add something else, such as text, to the ink before you copy it to the Clipboard.
ICB_DelayedCopy
Value: 0x20
Delayed rendering is used to reduce the amount of data that is stored on the Clipboard. The data is rendered when a paste request is made.
ICB_Default
Value: ICB_Copy
Copy mode is used to copy the Ink.

Remarks

You can use the DelayedCopy flag to interact directly with the data object and add additional formats to the clipboard.

Caution  To avoid potential memory leaks as a result of using the DelayedCopy flag, you must call the OleFlushClipboard or OleSetClipboard method. This must be done before the application exits if the last call to the ClipboardCopy method used the DelayedCopy flag.
 
To remove the pointer from the clipboard, the parameter for the OleSetClipboard should be NULL. For the SetDataObject method, the data parameter should be NULL, and the copy parameter should be TRUE.

The OleSetClipboard and SetDataObject methods replace the contents of the clipboard.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Header msinkaut.h

See also

ClipboardCopy Method

ClipboardCopyWithRectangle Method

InkDisp Class