ImgEdit User Control

ImgEdit Class Library

ImgEdit.SetSelectionRectangle(Integer,Integer,Integer,Integer)

 

Sets a manual selection rectangle in the displayed image.

 

[Visual Basic]

Public Sub SetSelectionRectangle( _

ByVal x As Integer, _

ByVal y As Integer, _

ByVal width As Integer, _

ByVal height As Integer)

 

Parameters

    x

        The start x point of the selection rectangle.

    y

        The start y point of the selection rectangle.

    width

        The width value of the selection rectangle.

    height

        The height value of the selection rectangle.

 

Return Value

    None.

 

Example

[Visual Basic] The following example sets a selection rectangle.

 

[Visual Basic]

ImgEdit1.SetSelectionRectangle(0,0,100,100)

 

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.

Documentation Version 1.6