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

Adjusts zoom & position to display a custom area of the current document.

C#
public GdPictureStatus ZoomArea(
    int Left, 
    int Top, 
    int Width, 
    int Height
);
Visual Basic
Public Function ZoomArea(
    ByVal Left As Integer, 
    ByVal Top As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
Left 
Left pixel position the area.  
Top 
Top pixel position the area.  
Width 
Width in pixel of the area.  
Height 
Height in pixel of the area.  
Returns

A member of the GdPictureStatus enumeration.

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