Method AddNativeData
- Namespace
- PaintDotNet.Clipboard
- Assembly
- PaintDotNet.Core.dll
AddNativeData(IClipboardTransaction, uint, ReadOnlySpan<byte>)
public static void AddNativeData(this IClipboardTransaction transaction, uint formatID, ReadOnlySpan<byte> data)
Parameters
transaction
IClipboardTransaction
formatID
uint
data
ReadOnlySpan<byte>
AddNativeData(IClipboardTransaction, uint, ExtentPtr<byte>)
public static void AddNativeData(this IClipboardTransaction transaction, uint formatID, ExtentPtr<byte> data)
Parameters
transaction
IClipboardTransaction
formatID
uint
data
ExtentPtr<byte>
AddNativeData(IClipboardTransaction, uint, Action<Stream>)
public static void AddNativeData(this IClipboardTransaction transaction, uint formatID, Action<Stream> copyToStreamFn)
Parameters
transaction
IClipboardTransaction
formatID
uint
copyToStreamFn
Action<Stream>