Table of Contents

Method AddNativeData

Namespace
PaintDotNet.Clipboard
Assembly
PaintDotNet.Core.dll

AddNativeData(IClipboardTransaction, uint, byte*, long)

public static void AddNativeData(this IClipboardTransaction transaction, uint formatID, byte* pbData, long dataLength)

Parameters

transaction IClipboardTransaction
formatID uint
pbData byte*
dataLength long

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, Action<Stream>)

public static void AddNativeData(this IClipboardTransaction transaction, uint formatID, Action<Stream> copyToStreamFn)

Parameters

transaction IClipboardTransaction
formatID uint
copyToStreamFn Action<Stream>