Table of Contents

Method TryGetImageBgra32

Namespace
PaintDotNet.Clipboard
Assembly
PaintDotNet.Core.dll

TryGetImageBgra32(IClipboard)

Retrieves the image that is on the clipboard, if possible.

The image is converted to BGRA32 if necessary.

public static IClipboardImage<ColorBgra32>? TryGetImageBgra32(this IClipboard clipboard)

Parameters

clipboard IClipboard

Returns

IClipboardImage<ColorBgra32>