Class PdfVersion
This class represents all official PDF versions.
public class PdfVersion : IComparable<PdfVersion>
- Inheritance
-
PdfVersion
- Implements
- Inherited Members
Fields
PDF_1_0
public static readonly PdfVersion PDF_1_0
Field Value
PDF_1_1
public static readonly PdfVersion PDF_1_1
Field Value
PDF_1_2
public static readonly PdfVersion PDF_1_2
Field Value
PDF_1_3
public static readonly PdfVersion PDF_1_3
Field Value
PDF_1_4
public static readonly PdfVersion PDF_1_4
Field Value
PDF_1_5
public static readonly PdfVersion PDF_1_5
Field Value
PDF_1_6
public static readonly PdfVersion PDF_1_6
Field Value
PDF_1_7
public static readonly PdfVersion PDF_1_7
Field Value
PDF_2_0
public static readonly PdfVersion PDF_2_0
Field Value
Methods
CompareTo(PdfVersion)
public virtual int CompareTo(PdfVersion o)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
FromPdfName(PdfName)
Creates a PdfVersion class from a PdfName object if the specified version can be found.
public static PdfVersion FromPdfName(PdfName name)
Parameters
name
PdfNameversion number
Returns
- PdfVersion
PdfVersion of the specified version
FromString(string)
Creates a PdfVersion class from a String object if the specified version can be found.
public static PdfVersion FromString(string value)
Parameters
value
stringversion number
Returns
- PdfVersion
PdfVersion of the specified version
ToPdfName()
public virtual PdfName ToPdfName()
Returns
ToString()
public override string ToString()