This documentation is archived and is not being maintained.

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.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

[FlagsAttribute]
public enum InkClipboardModes

Member nameDescription
CopyCopies the ink to the Clipboard.
CutCuts the ink and copies it to the Clipboard.
ExtractOnlyDoes 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.
DelayedCopyUses delayed rendering to reduce the amount of data that is stored on the Clipboard. The data is rendered when a paste request is made.
DefaultThe Copy mode.

Uses the DelayedCopy flag to interact directly with the data object and add additional formats to the clipboard.

Caution noteCaution:

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.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0
Show: