Click or drag to resize

PdfBounds Structure

A struct representing the bounds of an object in Pdf space.

Namespace:  Atalasoft.PdfDoc.Geometry
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public struct PdfBounds

The PdfBounds type exposes the following members.

Constructors
  NameDescription
Public methodPdfBounds(RectangleF)
Initializes a new instance of the PdfBounds struct.
Public methodPdfBounds(Double, Double, Double, Double)
Initializes a new instance of the PdfBounds struct.
Top
Properties
  NameDescription
Public propertyBottom
Gets the offset of the bottom side of this boundary.
Public propertyStatic memberEmpty
Returns the Empty PdfBounds
Public propertyHeight
Gets the height.
Public propertyLeft
Gets the offset of the left side of this boundary.
Public propertyRight
Gets the offset of the right side of this boundary.
Public propertyTop
Gets the offset of the top side of this boundary.
Public propertyWidth
Gets the width.
Top
Methods
  NameDescription
Public methodContains(PdfBounds)
Determines whether the bounds contains the specified inner PdfBounds.
Public methodContains(PdfPoint)
Determines whether the supplied point is contained within this rectangle.
Public methodContains(PdfQuadrilateral)
Determines whether the rectangle contains the specified quadrilateral.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodExpand(Double)
Expands the PdfBounds by the specified amount on all sides.
Public methodExpand(Double, Double)
Expands the PdfBounds by specified amount on sides and on the top and bottom.
Public methodExpand(Double, Double, Double, Double)
Expands the PdfBounds by specified amount on each side.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersects
Checks to see if a given rectangle intersects this one.
Public methodIsEmpty
Determines whether this instance is empty.
Public methodLowerBound
Returns the minimum X and Y as a PdfPoint.
Public methodMaxX
Returns the maximum X.
Public methodMaxY
Returns the maximum Y.
Public methodMinX
Returns the minimum X.
Public methodMinY
Returns the minimum Y.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Public methodUpperBound
Returns the maximum X and Y as a PdfPoint.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Top
See Also