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

Returns the coordinates in pixel of the rectangle of area selection over the viewer.

C#
public GetRectCoordinatesOnViewer(
    ref int Left, 
    ref int Top, 
    ref int Width, 
    ref int Height
);
Visual Basic
Public Sub GetRectCoordinatesOnViewer(
    ByRef Left As Integer, 
    ByRef Top As Integer, 
    ByRef Width As Integer, 
    ByRef Height As Integer
)
Parameters
Parameters 
Description 
Left 
Returns Left pixel position of the rectangle of area selection.  
Top 
Returns Top pixel position 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.