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

Public Member Functions

 PdfBoolean (bool value)
 
 PdfBoolean (string value)
 
override string ToString ()
 
- 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 ()
 

Static Public Attributes

static readonly PdfBoolean PDFTRUE = new PdfBoolean(true)
 
static readonly PdfBoolean PDFFALSE = new PdfBoolean(false)
 
const string TRUE = "true"
 
const string FALSE = "false"
 
- 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"
 

Properties

bool BooleanValue [get]
 
- Properties inherited from iTextSharp.text.pdf.PdfObject
int Length [get]
 
string Content [set]
 
int Type [get]
 
PRIndirectReference IndRef [get, set]
 

Additional Inherited Members

- 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

PdfBoolean is the bool object represented by the keywords true or false.

This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.2 (page 37).

See also
PdfObject
BadPdfFormatException

Constructor & Destructor Documentation

◆ PdfBoolean() [1/2]

iTextSharp.text.pdf.PdfBoolean.PdfBoolean ( bool  value)

Constructs a PdfBoolean-object.

Parameters
valuethe value of the new PdfObject

◆ PdfBoolean() [2/2]

iTextSharp.text.pdf.PdfBoolean.PdfBoolean ( string  value)

Constructs a PdfBoolean-object.

Parameters
valuethe value of the new PdfObject, represented as a string
Exceptions
BadPdfFormatExceptionthrown if the value isn't 'true' or 'false'

Member Function Documentation

◆ ToString()

override string iTextSharp.text.pdf.PdfBoolean.ToString ( )

Member Data Documentation

◆ FALSE

const string iTextSharp.text.pdf.PdfBoolean.FALSE = "false"
static

A possible value of PdfBoolean

◆ PDFFALSE

readonly PdfBoolean iTextSharp.text.pdf.PdfBoolean.PDFFALSE = new PdfBoolean(false)
static

◆ PDFTRUE

readonly PdfBoolean iTextSharp.text.pdf.PdfBoolean.PDFTRUE = new PdfBoolean(true)
static

◆ TRUE

const string iTextSharp.text.pdf.PdfBoolean.TRUE = "true"
static

A possible value of PdfBoolean

Property Documentation

◆ BooleanValue

bool iTextSharp.text.pdf.PdfBoolean.BooleanValue
get

Returns the primitive value of the PdfBoolean-object.

Returns
the actual value of the object.

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