Visual Basic (Declaration) | |
---|---|
Overloads Public Sub SelectZoneByPoint( _ ByVal graphics As Graphics, _ ByVal pageIndex As Integer, _ ByVal pt As Point _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Managed Extensions for C++ | |
---|---|
public: void SelectZoneByPoint( Graphics graphics, int pageIndex, Point pt ) |
Parameters
- graphics
- Graphics object specified the device that contains the drawing.
- 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 | Copy Code |
---|---|
Public Sub SelectZoneByPointExample(ByVal graph As Graphics) |
C# | Copy Code |
---|---|
public void SelectZoneByPointExample(Graphics graph) |
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 DrawPage.
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 DrawPage.
For more information, refer to Drawing Pages and Zones.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 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