Instantiates a new GetRectangleOptions object setting the specified values.
Syntax
'Declaration
Public Function New( _
ByVal As Rectangle, _
ByVal As Color, _
ByVal As Boolean _
)
'Usage
Dim area As Rectangle
Dim padColor As Color
Dim allowPadding As Boolean
Dim instance As New GetRectangleOptions(area, padColor, allowPadding)
public GetRectangleOptions(
Rectangle ,
Color ,
bool
)
public: GetRectangleOptions(
Rectangle ,
Color ,
bool
)
public:
GetRectangleOptions(
Rectangle ,
Color ,
bool
)
Parameters
- area
- The area to extract from the original image.
- padColor
- The color used for new pixels if necessary.
- allowPadding
- Flag indicating whether padding or an error occurs if the 'area' is outside of the image bounds.
See Also