Method FromTopRight
FromTopRight(Int32, Int32, Level)
A rectangle with respect to the upper right corner of the device display. The document is to be shown with the given zoom level.
Declaration
public static Rectangle FromTopRight(int top, int right, Level zoomLevel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | top | The distance to the upper border in mm. |
| System.Int32 | right | The distance to the right border in mm. |
| Level | zoomLevel | The desired zoom level. |
Returns
| Type | Description |
|---|---|
| Rectangle | The rectangle. |
FromTopRight(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 FromTopRight(int top, int right, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | top | The distance to the upper border in mm. |
| System.Int32 | right | The distance to the right 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. |