Click or drag to resize

PdfSize Class

The class represents a size in PDF world coordinates.
Inheritance Hierarchy
SystemObject
  Opait.Pdf.ApiPdfSize

Namespace:  Opait.Pdf.Api
Assembly:  Opait.Pdf.Api (in Opait.Pdf.Api.dll) Version: 1.3.3.0
Syntax
C#
public class PdfSize : IEquatable<PdfSize>

The PdfSize type exposes the following members.

Constructors
  NameDescription
Public methodPdfSize
The default constructor for a zero size.
Public methodPdfSize(Double, Double)
Constructs an instance of the PdfSize class.
Top
Properties
  NameDescription
Public propertyIsEmpty
Gets a value indicating whether this PdfSize is empty.
Top
Methods
  NameDescription
Public methodEquals(Object)
Specifies whether this PdfSize has the same size as the specified Object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PdfSize)
Specifies whether this PdfSize contains the same coordinates as the specified size.
Public methodFitToSize
Scale to fit given size while maintaining the aspect ratio.
Public methodGetHashCode
Returns the hash code for this PdfSize.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string that represents this instance of PdfSize.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
Represents a PdfSize of zero dimensions.
Public fieldHeight
The vertical height.
Public fieldWidth
The horizontal width.
Top
See Also