







![]() ![]() |
PDFTron SilverDox SDK |
DocumentViewer..::..GetCanvasAtPoint Method |
DocumentViewer Class See Also Send Feedback |
Gets the page number and canvas element at a given screen location.
Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010
Syntax
C# |
---|
public KeyValuePair<int, Canvas> GetCanvasAtPoint( Point point ) |
Visual Basic |
---|
Public Function GetCanvasAtPoint ( _ point As Point _ ) As KeyValuePair(Of Integer, Canvas) |
Visual C++ |
---|
public: KeyValuePair<int, Canvas^> GetCanvasAtPoint( Point point ) |
Parameters
- point
- Type: System.Windows..::..Point
A point relative to the overall Silverlight plug-in content area.
Return Value
The canvas element and its page number at the location specified in point.
Remarks
If the point is generated from a mouse event, the passed point should be the point returned by MouseEventArgs.GetPosition(null).