You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Document Position > GetDisplayedArea Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.GetDisplayedArea Method

Returns the coordinates in pixel of the visible area of the displayed document.

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