Table of Contents

Class PdfNumber

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

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 PdfObject @see BadPdfFormatException

public class PdfNumber : PdfObject
Inheritance
PdfNumber
Inherited Members

Constructors

PdfNumber(double)

Constructs a new REAL PdfNumber -object.

public PdfNumber(double value)

Parameters

value double

value of the new PdfNumber -object

PdfNumber(int)

Constructs a new int PdfNumber -object.

public PdfNumber(int value)

Parameters

value int

value of the new PdfNumber -object

PdfNumber(float)

Constructs a new REAL PdfNumber -object.

public PdfNumber(float value)

Parameters

value float

value of the new PdfNumber -object

PdfNumber(string)

constructors

public PdfNumber(string content)

Parameters

content string

value of the new PdfNumber -object

Properties

DoubleValue

methods returning the value of this object

public double DoubleValue { get; }

Property Value

double

a value

FloatValue

Returns the primitive double value of this object.

public float FloatValue { get; }

Property Value

float

a value

IntValue

public int IntValue { get; }

Property Value

int

Methods

Increment()

other methods

public void Increment()