You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Copying > CopyRegionToClipboard Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.CopyRegionToClipboard Method

Copies a region of the displayed document into the Clipboard.

C#
public GdPictureStatus CopyRegionToClipboard(
    int SrcLeft, 
    int SrcTop, 
    int Width, 
    int Height
);
Visual Basic
Public Function CopyRegionToClipboard(
    ByVal SrcLeft As Integer, 
    ByVal SrcTop As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
SrcLeft 
The left source pixel.  
SrcTop 
The top source pixel.  
Width 
Width of the region in pixel.  
Height 
Height of the region in pixel.  
Returns

A member of the GdPictureStatus enumeration.

Not available for MetaFile documents.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.