ImGearROIMask Constructor(ImGearPage,ImGearPixel,Boolean)
In This Topic
Initializes a new instance of the
ImGearROIMask class, corresponding to an area in the specified page that is filled with the specified color.
Syntax
'Declaration
Public Function New( _
ByVal As ImGearPage, _
ByVal As ImGearPixel, _
ByVal As Boolean _
)
'Usage
Dim page As ImGearPage
Dim maskColor As ImGearPixel
Dim invertSelection As Boolean
Dim instance As New ImGearROIMask(page, maskColor, invertSelection)
public ImGearROIMask(
ImGearPage ,
ImGearPixel ,
bool
)
public: ImGearROIMask(
ImGearPage* ,
ImGearPixel* ,
bool
)
public:
ImGearROIMask(
ImGearPage^ ,
ImGearPixel^ ,
bool
)
Parameters
- page
- The page used to construct the ROI mask. Binary (1-bit) pages are not supported.
- maskColor
- Mask color.
- invertSelection
- Set to true to build mask according to area not filled with MaskColor.
Example
See Also