Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
RasterClipboard Class
See Also  Members  
Leadtools.WinForms Namespace : RasterClipboard Class




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

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class RasterClipboard 
Visual Basic (Usage)Copy Code
Dim instance As RasterClipboard
C# 
public sealed class RasterClipboard 
Managed Extensions for C++ 
public __gc __sealed class RasterClipboard 
C++/CLI 
public ref class RasterClipboard sealed 

Remarks

The RasterClipboard class contains the Copy method that lets you copy the image data of an RasterImage to the clipboard. The Copy also lets you copy region data or the palette of the RasterImage through the use of RasterClipboardCopyFlags.

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

You can use the IsReady property to check if any compatible data is currently in the Windows clipboard. You can use this property to update the user interface of your application by enabling/disabling the Paste menu item for example.

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

Inheritance Hierarchy

System.Object
   Leadtools.WinForms.RasterClipboard

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also