[]
Converts a PointF in document coordinates to the current C1PreviewPane's client coordinates.
public bool DocumentToClient(int pageIdx, PointF ptPage, out Point pt)
| 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)
| 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)
| 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)
| Type | Name | Description |
|---|---|---|
| int | pageIdx | 0-based page index. |
| PointF | pPage | Point on page |
| Type | Description |
|---|---|
| Point | Point converted to preview pane client coordinates. |