Method FromTopRight
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. |