PdfSharp-GDI  1.31.7289
PdfSharp.Pdf.PdfBoolean Class Reference

Represents a direct boolean value. More...

Inheritance diagram for PdfSharp.Pdf.PdfBoolean:
PdfSharp.Pdf.PdfItem

Public Member Functions

 PdfBoolean ()
 Initializes a new instance of the PdfBoolean class. More...
 
 PdfBoolean (bool value)
 Initializes a new instance of the PdfBoolean class. More...
 
override string ToString ()
 Returns 'false' or 'true'. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Static Public Attributes

static readonly PdfBoolean True = new PdfBoolean(true)
 A pre-defined value that represents true. More...
 
static readonly PdfBoolean False = new PdfBoolean(false)
 A pre-defined value that represents false. More...
 

Properties

bool Value [get]
 Gets the value of this instance as boolean value. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PdfSharp.Pdf.PdfItem
virtual object Copy ()
 Implements the copy mechanism. Must be overridden in derived classes. More...
 

Detailed Description

Represents a direct boolean value.

Constructor & Destructor Documentation

◆ PdfBoolean() [1/2]

PdfSharp.Pdf.PdfBoolean.PdfBoolean ( )

Initializes a new instance of the PdfBoolean class.

◆ PdfBoolean() [2/2]

PdfSharp.Pdf.PdfBoolean.PdfBoolean ( bool  value)

Initializes a new instance of the PdfBoolean class.

Member Function Documentation

◆ ToString()

override string PdfSharp.Pdf.PdfBoolean.ToString ( )

Returns 'false' or 'true'.

Member Data Documentation

◆ False

readonly PdfBoolean PdfSharp.Pdf.PdfBoolean.False = new PdfBoolean(false)
static

A pre-defined value that represents false.

◆ True

readonly PdfBoolean PdfSharp.Pdf.PdfBoolean.True = new PdfBoolean(true)
static

A pre-defined value that represents true.

Property Documentation

◆ Value

bool PdfSharp.Pdf.PdfBoolean.Value
get

Gets the value of this instance as boolean value.


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