HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.PdfNumber Class Reference
Inheritance diagram for iTextSharp.text.pdf.PdfNumber:
iTextSharp.text.pdf.PdfObject

Public Member Functions

 PdfNumber (string content)
 
 PdfNumber (int value)
 
 PdfNumber (double value)
 
 PdfNumber (float value)
 
void Increment ()
 
- Public Member Functions inherited from iTextSharp.text.pdf.PdfObject
virtual void ToPdf (PdfWriter writer, Stream os)
 
virtual byte[] GetBytes ()
 
bool CanBeInObjStm ()
 
override string ToString ()
 
bool IsNull ()
 
bool IsBoolean ()
 
bool IsNumber ()
 
bool IsString ()
 
bool IsName ()
 
bool IsArray ()
 
bool IsDictionary ()
 
bool IsStream ()
 
bool IsIndirect ()
 

Properties

int IntValue [get]
 
double DoubleValue [get]
 
float FloatValue [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfObject
int Length [get]
 
string Content [set]
 
int Type [get]
 
PRIndirectReference IndRef [get, set]
 

Additional Inherited Members

- Static Public Attributes inherited from iTextSharp.text.pdf.PdfObject
const int BOOLEAN = 1
 
const int NUMBER = 2
 
const int STRING = 3
 
const int NAME = 4
 
const int ARRAY = 5
 
const int DICTIONARY = 6
 
const int STREAM = 7
 
const int NULL = 8
 
const int INDIRECT = 10
 
const string NOTHING = ""
 
const string TEXT_PDFDOCENCODING = "PDF"
 
const string TEXT_UNICODE = "UnicodeBig"
 
- Protected Member Functions inherited from iTextSharp.text.pdf.PdfObject
 PdfObject (int type)
 
 PdfObject (int type, string content)
 
 PdfObject (int type, byte[] bytes)
 
- Protected Attributes inherited from iTextSharp.text.pdf.PdfObject
byte[] bytes
 
int type
 
PRIndirectReference indRef
 

Detailed Description

PdfNumber provides two types of numbers, int and real.

ints may be specified by signed or unsigned constants. Reals may only be in decimal format.
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.3 (page 37).

See also
PdfObject
BadPdfFormatException

Constructor & Destructor Documentation

◆ PdfNumber() [1/4]

iTextSharp.text.pdf.PdfNumber.PdfNumber ( string  content)

Constructs a PdfNumber-object.

Parameters
contentvalue of the new PdfNumber-object

◆ PdfNumber() [2/4]

iTextSharp.text.pdf.PdfNumber.PdfNumber ( int  value)

Constructs a new int PdfNumber-object.

Parameters
valuevalue of the new PdfNumber-object

◆ PdfNumber() [3/4]

iTextSharp.text.pdf.PdfNumber.PdfNumber ( double  value)

Constructs a new REAL PdfNumber-object.

Parameters
valuevalue of the new PdfNumber-object

◆ PdfNumber() [4/4]

iTextSharp.text.pdf.PdfNumber.PdfNumber ( float  value)

Constructs a new REAL PdfNumber-object.

Parameters
valuevalue of the new PdfNumber-object

Member Function Documentation

◆ Increment()

void iTextSharp.text.pdf.PdfNumber.Increment ( )

Increments the value of the PdfNumber-object with 1.

Property Documentation

◆ DoubleValue

double iTextSharp.text.pdf.PdfNumber.DoubleValue
get

Returns the primitive double value of this object.

Returns
a value

◆ FloatValue

float iTextSharp.text.pdf.PdfNumber.FloatValue
get

◆ IntValue

int iTextSharp.text.pdf.PdfNumber.IntValue
get

Returns the primitive int value of this object.

Returns
a value

The documentation for this class was generated from the following file: