Leadtools.WinForms Namespace > RasterClipboard Class : Paste Method |
public static RasterImage Paste( IWin32Window owner )
'Declaration Public Shared Function Paste( _ ByVal owner As IWin32Window _ ) As RasterImage
'Usage Dim owner As IWin32Window Dim value As RasterImage value = RasterClipboard.Paste(owner)
public static RasterImage Paste( IWin32Window owner )
function Leadtools.WinForms.RasterClipboard.Paste( owner )
public: static RasterImage^ Paste( IWin32Window^ owner )
Public Sub RasterClipboard_Paste(ByVal viewer As RasterImageViewer) If RasterClipboard.IsReady Then ''' Copy the bitmap from the clipboard viewer.Image = RasterClipboard.Paste(viewer) Console.WriteLine("Paste is Successful") Else Console.WriteLine("Paste Failed") End If End Sub
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"); } }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2