- hdc
- Specifies the device context
- pageIndex
- Specifies the index of the page that contains the zones. This index is zero-based.
- pt
- Specifies the X and Y coordinates that specify a point inside a zone.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SelectZoneByPoint( _ ByVal hdc As IntPtr, _ ByVal pageIndex As Integer, _ ByVal pt As Point _ ) |
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.
- pt
- Specifies the X and Y coordinates that specify a point inside a zone.
Draws a selection rectangle around the zone that contains the specified point.
This method will update the SelectedZoneIndex property value if it finds a zone that contains the specified point. To draw a page, call RasterDocumentEngine.DrawPage(Graphics,Int32,Rectangle,Rectangle,Rectangle,Rectangle,RasterPaintProperties).
For more information, refer to Drawing Pages and Zones.
This method will update the SelectedZoneIndex property value if it finds a zone that contains the specified point. To draw a page, call RasterDocumentEngine.DrawPage(Graphics,Int32,Rectangle,Rectangle,Rectangle,Rectangle,RasterPaintProperties).
For more information, refer to Drawing Pages and Zones.
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
SelectZone(Graphics,Int32,Int32,Boolean) Method
RemoveSelectedZone Method
UpdateZoneArea Method
GetSelectedZoneData Method
ActivePage Property