Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
SelectZoneByPoint(IntPtr,Int32,Point) Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class > SelectZoneByPoint Method : SelectZoneByPoint(IntPtr,Int32,Point) Method




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 located at the specified point.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SelectZoneByPoint( _
   ByVal hdc As IntPtr, _
   ByVal pageIndex As Integer, _
   ByVal pt As Point _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim hdc As IntPtr
Dim pageIndex As Integer
Dim pt As Point
 
instance.SelectZoneByPoint(hdc, pageIndex, pt)
C# 
public void SelectZoneByPoint( 
   IntPtr hdc,
   int pageIndex,
   Point pt
)
Managed Extensions for C++ 
public: void SelectZoneByPoint( 
   IntPtr hdc,
   int pageIndex,
   Point pt
) 
C++/CLI 
public:
void SelectZoneByPoint( 
   IntPtr hdc,
   int pageIndex,
   Point pt
) 

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.

Remarks

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.

Requirements

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

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features