Struct PdfSize
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Stores an ordered pair of double precision floating-point numbers, typically the width and height of a PDF rectangle.
public struct PdfSize : IEquatable<PdfSize>
- Implements
- Inherited Members
Remarks
The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.
Constructors
- PdfSize(PdfPoint)
Initializes a new instance of the PdfSize struct from the specified PdfPoint.
- PdfSize(PdfSize)
Initializes a new instance of the PdfSize struct from the specified PdfSize.
- PdfSize(double, double)
Initializes a new instance of the PdfSize struct from the specified dimensions.
- PdfSize(float, float)
Initializes a new instance of the PdfSize struct from the specified dimensions.
Fields
Properties
Methods
- Add(PdfSize, PdfSize)
Adds the width and height of one PdfSize structure to the width and height of another PdfSize structure.
- Equals(PdfSize)
Tests to see whether the specified size has the same dimensions as this PdfSize.
- Equals(object?)
Tests to see whether the specified object is a PdfSize with the same dimensions as this PdfSize.
- GetHashCode()
Returns a hash code for this PdfSize structure.
- Subtract(PdfSize, PdfSize)
Subtracts the width and height of one PdfSize structure from the width and height of another PdfSize structure.
- ToString()
Converts this PdfSize to a human readable string.
- ToString(IFormatProvider)
Converts this PdfSize to a human readable string.
Operators
- operator +(PdfSize, PdfSize)
Adds the width and height of one PdfSize structure to the width and height of another PdfSize structure.
- operator ==(PdfSize, PdfSize)
Tests whether two PdfSize structures are equal.
- operator !=(PdfSize, PdfSize)
Tests whether two PdfSize structures are different.
- operator -(PdfSize, PdfSize)
Subtracts the width and height of one PdfSize structure from the width and height of another PdfSize structure.