Method FromTopLeft
FromTopLeft(Int32, Int32, Level)
A rectangle with respect to the upper left corner of the device display. The document is to be shown with the given zoom level.
Declaration
public static Rectangle FromTopLeft(int top, int left, Level zoomLevel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | top | The distance to the upper border in mm. |
| System.Int32 | left | The distance to the left border in mm. |
| Level | zoomLevel | The desired zoom level. |
Returns
| Type | Description |
|---|---|
| Rectangle | The rectangle. |
FromTopLeft(Int32, Int32, Int32, Int32)
A rectangle with respect to the upper left corner of the device display. This rectangle further captures the desired size of the rectangle in mm.
Declaration
public static Rectangle FromTopLeft(int top, int left, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | top | The distance to the upper border in mm. |
| System.Int32 | left | The distance to the left border in mm. |
| System.Int32 | width | The desired with in mm. |
| System.Int32 | height | The desired height in mm. |
Returns
| Type | Description |
|---|---|
| Rectangle | The rectangle. |