Click or drag to resize

PdfSize Structure

Represents the size of an object.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoft.Pdf.ContentPdfSize

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public readonly struct PdfSize : IEquatable<PdfSize>

The PdfSize type exposes the following members.

Constructors
 NameDescription
Public methodPdfSize Initializes a new instance of the PdfSize structure that contains the specified width and height.
Top
Properties
 NameDescription
Public propertyHeight Gets the height.
Public propertyWidth Gets the width.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfSize instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PdfSize) Determines whether the other PdfSize is equal to this PdfSize instance.
Public methodGetHashCode Returns a hash code for this PdfSize instance.
(Overrides ValueTypeGetHashCode)
Public methodToString Returns a String that represents this PdfSize instance.
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PdfSize, PdfSize) Determines whether first and second PdfSizes are equal.
Public operatorStatic memberInequality(PdfSize, PdfSize) Determines whether first and second PdfSizes are not equal.
Top
See Also