Determines whether the Windows clipboard contains an image that can be copied using Paste.
public static bool IsReady { get; }
public:
static property bool IsReady {
bool get();
}
public:
static property bool IsReady
{
bool get()
}
true if the clipboard contains an image that can be copied, false otherwise.
using Leadtools.WinForms;
using Leadtools;
using Leadtools.Codecs;
public void RasterClipboard_Paste(RasterImageViewer viewer)
{
if (RasterClipboard.IsReady)
{
/// Copy the bitmap from the clipboard
viewer.Image = RasterClipboard.Paste(viewer);
Console.WriteLine("Paste is Successful");
}
else
{
Console.WriteLine("Paste Failed");
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document