Visual Basic (Declaration) | |
---|---|
Public NotInheritable Class RasterClipboard |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterClipboard |
C# | |
---|---|
public sealed class RasterClipboard |
C++/CLI | |
---|---|
public ref class RasterClipboard sealed |
The RasterClipboard class contains the RasterClipboard.Copy method that lets you copy the image data of an Leadtools.RasterImage to the clipboard. The RasterClipboard.Copy also lets you copy region data or the palette of the Leadtools.RasterImage through the use of RasterClipboardCopyFlags.
The Paste method lets you create an Leadtools.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 Leadtools.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.
System.Object
Leadtools.WinForms.RasterClipboard
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7