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)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration InkClipboardModes
'Usage
Dim instance As InkClipboardModes
[FlagsAttribute]
public enum InkClipboardModes
[FlagsAttribute]
public enum class InkClipboardModes
public enum InkClipboardModes
Members
Member 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.
Warning
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 nulla null reference (Nothing in Visual Basic) and the copy parameter set to true.
The SetDataObject method replaces the contents of the clipboard.
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0