Class <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle
Inheritance
System.Object
<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle
Assembly: IronPdf.dll
Syntax
public sealed class <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle : ValueType
Constructors
<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(Double, Double, Double, Double)
Declaration
public <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(double x1, double y1, double x2, double y2)
Parameters
| Type |
Name |
Description |
| System.Double |
x1 |
|
| System.Double |
y1 |
|
| System.Double |
x2 |
|
| System.Double |
y2 |
|
<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(Int16, Int16, Int16, Int16)
Declaration
public <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(short x1, short y1, short x2, short y2)
Parameters
| Type |
Name |
Description |
| System.Int16 |
x1 |
|
| System.Int16 |
y1 |
|
| System.Int16 |
x2 |
|
| System.Int16 |
y2 |
|
<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint, <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint)
Declaration
public <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle( < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint bottomLeft, < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint topRight)
Parameters
<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle(<7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint, <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint, <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint, <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfPoint)
Declaration
public <7b56d8b3-e75c-452b-af2b-e32243b44b60>PdfRectangle( < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint topLeft, < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint topRight, < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint bottomLeft, < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint bottomRight)
Parameters
Properties
Area
Declaration
public double Area { get; }
Property Value
| Type |
Description |
| System.Double |
|
Bottom
Declaration
public double Bottom { get; }
Property Value
| Type |
Description |
| System.Double |
|
BottomLeft
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint BottomLeft { get; }
Property Value
BottomRight
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint BottomRight { get; }
Property Value
Centroid
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint Centroid { get; }
Property Value
Height
Declaration
public double Height { get; }
Property Value
| Type |
Description |
| System.Double |
|
Left
Declaration
public double Left { get; }
Property Value
| Type |
Description |
| System.Double |
|
Right
Declaration
public double Right { get; }
Property Value
| Type |
Description |
| System.Double |
|
Rotation
Declaration
public double Rotation { get; }
Property Value
| Type |
Description |
| System.Double |
|
Top
Declaration
public double Top { get; }
Property Value
| Type |
Description |
| System.Double |
|
TopLeft
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint TopLeft { get; }
Property Value
TopRight
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfPoint TopRight { get; }
Property Value
Width
Declaration
public double Width { get; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Translate(Double, Double)
Declaration
public < 7 b56d8b3 - e75c - 452 b - af2b - e32243b44b60 > PdfRectangle Translate(double dx, double dy)
Parameters
| Type |
Name |
Description |
| System.Double |
dx |
|
| System.Double |
dy |
|
Returns