You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Standalone Functions > SetROI Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.SetROI Method

Defines the current region of interest.

C#
public SetROI(
    int Left, 
    int Top, 
    int Width, 
    int Height
);
Visual Basic
Public Sub SetROI(
    ByVal Left As Integer, 
    ByVal Top As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer
)
Parameters
Parameters 
Description 
Left 
left pixel position of the region of interest.  
Top 
Top pixel position of the region of interest.  
Width 
Width in pixel of the region of interest.  
Height 
Height in pixel pixel position of the region of interest.  

The upper-left corner of the image have (0, 0) coordinate.

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