InkClipboardModes Enumeration
InkClipboardModes Enumeration |
Defines values that specify the copy options of the Clipboard.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Definition
Visual Basic .NET Public Enum InkClipboardModes C# public enum InkClipboardModes Managed C++ __value public enum InkClipboardModes
Constants
Constant Name Description Copy Copies the ink to the Clipboard. Cut Cuts the ink and copies it to the Clipboard. ExtractOnly Does not copy the ink 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. DelayedCopy Uses delayed rendering to reduce the amount of data that is stored on the Clipboard. The data is rendered when a paste request is made. Default The Copy mode.
Remarks
Uses 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 SetDataObject method of the Clipboard object. 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, call the SetDataObject method with the data parameter set to null and the copy parameter set to true.
The SetDataObject method replaces the contents of the clipboard.
Enumeration Information
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8
See Also