iText 8.0.2 API
iText.Kernel.Pdf.PdfVersion Class Reference

This class represents all official PDF versions. More...

Inheritance diagram for iText.Kernel.Pdf.PdfVersion:

Public Member Functions

override String  ToString ()
 
virtual PdfName  ToPdfName ()
 
virtual int  CompareTo (iText.Kernel.Pdf.PdfVersion o)
 
override bool  Equals (Object obj)
 

Static Public Member Functions

static iText.Kernel.Pdf.PdfVersion  FromString (String value)
  Creates a PdfVersion class from a String object if the specified version can be found. More...
 
static iText.Kernel.Pdf.PdfVersion  FromPdfName (PdfName name)
  Creates a PdfVersion class from a PdfName object if the specified version can be found. More...
 

Static Public Attributes

static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_0 = CreatePdfVersion(1, 0)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_1 = CreatePdfVersion(1, 1)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_2 = CreatePdfVersion(1, 2)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_3 = CreatePdfVersion(1, 3)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_4 = CreatePdfVersion(1, 4)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_5 = CreatePdfVersion(1, 5)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_6 = CreatePdfVersion(1, 6)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_1_7 = CreatePdfVersion(1, 7)
 
static readonly iText.Kernel.Pdf.PdfVersion  PDF_2_0 = CreatePdfVersion(2, 0)
 

Detailed Description

This class represents all official PDF versions.

Member Function Documentation

◆ FromPdfName()

static iText.Kernel.Pdf.PdfVersion iText.Kernel.Pdf.PdfVersion.FromPdfName ( PdfName  name )
inlinestatic

Creates a PdfVersion class from a PdfName object if the specified version can be found.

Parameters
name version number
Returns
PdfVersion of the specified version

◆ FromString()

static iText.Kernel.Pdf.PdfVersion iText.Kernel.Pdf.PdfVersion.FromString ( String  value )
inlinestatic

Creates a PdfVersion class from a String object if the specified version can be found.

Parameters
value version number
Returns
PdfVersion of the specified version