![]() |
PdfRectangle Class |
The PdfRectangle type exposes the following members.
Name | Description | |
---|---|---|
![]() |
PdfRectangle |
Initializes a new instance of the PdfRectangle class.
|
![]() |
PdfRectangle(XRect) |
Initializes a new instance of the PdfRectangle class with the specified XRect.
|
![]() |
PdfRectangle(XPoint, XPoint) |
Initializes a new instance of the PdfRectangle class with two points specifying two diagonally opposite corners.
|
![]() |
PdfRectangle(XPoint, XSize) |
Initializes a new instance of the PdfRectangle class with the specified location and size.
|
Name | Description | |
---|---|---|
![]() |
Clone |
Clones this instance.
|
![]() |
Contains(PdfRectangle) |
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.
|
![]() |
Contains(XPoint) |
Determines if the specified point is contained within this PdfRectangle.
|
![]() |
Contains(XRect) |
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle.
|
![]() |
Contains(Double, Double) |
Determines if the specified point is contained within this PdfRectangle.
|
![]() |
Equals |
Tests whether the specified object is a PdfRectangle and has equal coordinates.
(Overrides Object
Equals(Object).)
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object
GetHashCode
.)
|
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString |
Returns the rectangle as a string in the form 玔x1 y1 x2 y2]?
(Overrides Object
ToString
.)
|
![]() |
ToXRect |
Returns the rectangle as an XRect object.
|
Name | Description | |
---|---|---|
![]() ![]() |
Equality |
Tests whether two structures have equal coordinates.
|
![]() ![]() |
Inequality |
Tests whether two structures differ in one or more coordinates.
|
Name | Description | |
---|---|---|
![]() |
Get |
A helper for a PdfItem that will automatically lookup / fetch the corresponding PdfReference item if the item is a PdfReference. If the item is not a PdfItem, then the original item is returned.
(Defined by PdfItemExtensions.)
|
![]() |
IsArray |
Checks to see if the PdfItem can be represented as a PdfArray
(Defined by PdfItemExtensions.)
|
![]() |
IsBoolean |
Checks to see if the PdfItem can be represented as a PdfBoolean
(Defined by PdfItemExtensions.)
|
![]() |
IsDate |
Checks to see if the PdfItem can be represented as a PdfDate
(Defined by PdfItemExtensions.)
|
![]() |
IsLiteral |
Checks to see if the PdfItem can be represented as a PdfLiteral
(Defined by PdfItemExtensions.)
|
![]() |
IsName |
Checks to see if the PdfItem can be represented as a PdfName
(Defined by PdfItemExtensions.)
|
![]() |
IsNull |
Checks to see if the PdfItem can be represented as a PdfNull
(Defined by PdfItemExtensions.)
|
![]() |
IsNumber |
Checks to see if the PdfItem can be represented as a PdfNumber
(Defined by PdfItemExtensions.)
|
![]() |
IsObject |
Checks to see if the PdfItem can be represented as a PdfObject
(Defined by PdfItemExtensions.)
|
![]() |
IsRectangle |
Checks to see if the PdfItem can be represented as a PdfRectangle
(Defined by PdfItemExtensions.)
|
![]() |
IsReference |
Checks to see if the PdfItem can be represented as a PdfReference
(Defined by PdfItemExtensions.)
|
![]() |
IsString |
Checks to see if the PdfItem can be represented as a PdfString
(Defined by PdfItemExtensions.)
|
Name | Description | |
---|---|---|
![]() |
Height |
Gets Y2 - Y1.
|
![]() |
IsEmpty |
Tests whether all coordinate are zero.
|
![]() |
Location |
Gets or sets the coordinates of the first point of this PdfRectangle.
|
![]() |
Size |
Gets or sets the size of this PdfRectangle.
|
![]() |
Width |
Gets X2 - X1.
|
![]() |
X1 |
Gets or sets the x-coordinate of the first corner of this PdfRectangle.
|
![]() |
X2 |
Gets or sets the x-coordinate of the second corner of this PdfRectangle.
|
![]() |
Y1 |
Gets or sets the y-coordinate of the first corner of this PdfRectangle.
|
![]() |
Y2 |
Gets or sets the y-coordinate of the second corner of this PdfRectangle.
|