Converts a
RectangleF in document coordinates to the current
C1PreviewPane's client coordinates.
'Declaration
Public Overloads Function DocumentToClient( _
ByVal As System.Integer, _
ByVal As System.Drawing.RectangleF, _
ByRef As System.Drawing.Rectangle _
) As System.Boolean
public System.bool DocumentToClient(
System.int ,
System.Drawing.RectangleF ,
out System.Drawing.Rectangle
)
Parameters
- pageIdx
- 0-based page index.
- rPage
- Rectangle on page .
- r
- OUT: Rectangle converted to preview pane client coordinates.
Return Value
True if the client rectangle's location belongs to a document page, false otherwise.