You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Rectangle Of Selection > GetRectCoordinatesOnDocument Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.GetRectCoordinatesOnDocument Method

Returns the coordinates in pixel of the rectangle of area selection over the page of the displayed document.

C#
public GetRectCoordinatesOnDocument(
    ref int Left, 
    ref int Top, 
    ref int Width, 
    ref int Height
);
Visual Basic
Public Sub GetRectCoordinatesOnDocument(
    ByRef Left As Integer, 
    ByRef Top As Integer, 
    ByRef Width As Integer, 
    ByRef Height As Integer
)
Parameters
Parameters 
Description 
Left 
Returns Left pixel position (0 based) of the rectangle of area selection.  
Top 
Returns Top pixel position (0 based) of the rectangle of area selection.  
Width 
Returns Width of the rectangle of area selection in pixel.  
Height 
Returns Height of the rectangle of area selection in pixel. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.