- hdc
- Specifies the device context
- pageIndex
- Specifies the index of the page that contains the zones. This index is zero-based.
- zoneIndex
- Specifies the index of the page which contains the zone.This index is zero-based.
- select
- Flag which determines the method behavior.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SelectZone( _ ByVal hdc As IntPtr, _ ByVal pageIndex As Integer, _ ByVal zoneIndex As Integer, _ ByVal select As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- hdc
- Specifies the device context
- pageIndex
- Specifies the index of the page that contains the zones. This index is zero-based.
- zoneIndex
- Specifies the index of the page which contains the zone.This index is zero-based.
- select
- Flag which determines the method behavior.
Selects or deselects the specified zone in the specified page and draws the results into the specified Graphics object.
To draw a page, call DrawPage method.
To select a zone by specifying a hit point, call
RasterDocumentEngine.SelectZoneByPoint(Graphics,Int32,Point).
This method will update the SelectedZoneIndex property value as follows:
This method will update the SelectedZoneIndex property value as follows:
- If the selectZone parameter value is true, then the SelectedZoneIndex property will be updated to equal to zoneIndex parameter value
- If the selectZone parameter value is false, then the SelectedZoneIndex property will be -1.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Reference
RasterDocumentEngine ClassRasterDocumentEngine Members
Overload List
AddZone Method
UpdateZone Method
DrawPage(Graphics,Int32,Rectangle,Rectangle,Rectangle,Rectangle,RasterPaintProperties) Method
SelectZoneByPoint(Graphics,Int32,Point) Method
RemoveSelectedZone Method
UpdateZoneArea Method
GetSelectedZoneData Method
ActivePage Property