Interface IClipboardTransaction
- Namespace
- PaintDotNet.Clipboard
- Assembly
- PaintDotNet.Base.dll
Provides methods for reading and writing clipboard data.
public interface IClipboardTransaction : IDisposable, IInternalImpl
- Inherited Members
Properties
- Clipboard
Gets a reference to the IClipboard object that created this transaction.
Methods
- AddNativeData(uint, nint, ClipboardDataCallback)
Provides a mechanism for writing native data to the clipboard.
- Empty()
Empties the clipboard. This is generally the first method called after opening a transaction when copying data to the clipboard
- GetNativeDataFormats()
Gets the list of native data formats.
- IsNativeDataPresent(uint)
Checks whether a given native data format ID is registered.
- RegisterNativeFormat(string)
Registers a format with the clipboard.
- TryGetNativeData(uint, ClipboardDataCallback)
Provides a mechanism for reading native data from the clipboard.
- TryGetNativeDataHandle(uint)
Gets a handle to the data on the clipboard that is associated with the given native data format ID.
- TryGetNativeFormatName(uint)
Gets the registered name for the native data format.