'Declaration
Public Function SetROI( _ ByVal Left As Integer, _ ByVal Top As Integer, _ ByVal Width As Integer, _ ByVal Height As Integer _ ) As GdPictureStatus
public GdPictureStatus SetROI( int Left, int Top, int Width, int Height )
public function SetROI( Left: Integer; Top: Integer; Width: Integer; Height: Integer ): GdPictureStatus;
public function SetROI( Left : int, Top : int, Width : int, Height : int ) : GdPictureStatus;
public: GdPictureStatus SetROI( int Left, int Top, int Width, int Height )
public: GdPictureStatus SetROI( int Left, int Top, int Width, int Height )
Parameters
- Left
- The x-coordinate of the upper-left point of the region of interest, in pixels, measured from the upper-left corner of the image.
- Top
- The y-coordinate of the upper-left point of the region of interest, in pixels, measured from the upper-left corner of the image.
- Width
- The width of the region of interest, in pixels.
- Height
- The height of the region of interest, in pixels.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.