[]
Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates.
public bool DocumentToClient(int pageIdx, PointF ptPage, out Point pt)
Public Function DocumentToClient(pageIdx As Integer, ptPage As PointF, ByRef pt As Point) As Boolean
| Type | Name | Description |
|---|---|---|
| int | pageIdx | 0-based page index of the document point. |
| PointF | ptPage | Point on page |
| Point | pt | OUT: Preview pane client point. |
| Type | Description |
|---|---|
| bool | True if the client point belongs to a document page, false otherwise. |
Converts a RectangleF in document coordinates to the current C1PreviewPane's client coordinates.
public bool DocumentToClient(int pageIdx, RectangleF rPage, out Rectangle r)
Public Function DocumentToClient(pageIdx As Integer, rPage As RectangleF, ByRef r As Rectangle) As Boolean
| Type | Name | Description |
|---|---|---|
| int | pageIdx | 0-based page index. |
| RectangleF | rPage | Rectangle on page |
| Rectangle | r | OUT: Rectangle converted to preview pane client coordinates. |
| Type | Description |
|---|---|
| bool | True if the client rectangle's location belongs to a document page, false otherwise. |
Converts a RectangleF in document coordinates to the current C1PreviewPane's client coordinates.
public Rectangle DocumentToClient(int pageIdx, RectangleF rPage)
Public Function DocumentToClient(pageIdx As Integer, rPage As RectangleF) As Rectangle
| Type | Name | Description |
|---|---|---|
| int | pageIdx | 0-based page index. |
| RectangleF | rPage | Rectangle on page |
| Type | Description |
|---|---|
| Rectangle | Rectangle converted to preview pane client coordinates. |
Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates.
public Point DocumentToClient(int pageIdx, PointF pPage)
Public Function DocumentToClient(pageIdx As Integer, pPage As PointF) As Point
| Type | Name | Description |
|---|---|---|
| int | pageIdx | 0-based page index. |
| PointF | pPage | Point on page |
| Type | Description |
|---|---|
| Point | Point converted to preview pane client coordinates. |