←Select platform

RasterClipboard Class

Summary

The RasterClipboard class provides methods for working with image data and the Windows clipboard.

Syntax

C#
VB
C++
public static class RasterClipboard 
Public NotInheritable Class RasterClipboard 
public ref class RasterClipboard sealed abstract 

Remarks

The RasterClipboard class contains the Copy method that lets you copy the image data of a RasterImage to the clipboard. The Copy method also has RasterClipboardCopyFlags for copying region data or the palette of the RasterImage.

The Paste method lets you create an RasterImage from the data currently in the Windows clipboard.

Use the IsReady property to determine whether any compatible data is currently in the Windows clipboard. For example, use this property to update the user interface of your application by enabling/disabling the Paste menu item.

Note: since the RasterImage implements standard .NET serialization, you can use the .NET System.Windows.Forms.Clipboard class to use the Windows clipboard. For more information and an example, refer to RasterImage Serialization.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly