Class PdfBoolean
- Namespace
- iTextSharp.text.pdf
- Assembly
- iTextSharp.LGPLv2.Core.dll
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 PdfObject @see BadPdfFormatException
public class PdfBoolean : PdfObject
- Inheritance
-
PdfBoolean
- Inherited Members
Constructors
PdfBoolean(bool)
constructors
public PdfBoolean(bool value)
Parameters
value
boolthe value of the new PdfObject
PdfBoolean(string)
Constructs a PdfBoolean -object. @throws BadPdfFormatException thrown if the value isn't ' true ' or ' false '
public PdfBoolean(string value)
Parameters
value
stringthe value of the new PdfObject , represented as a string
Fields
FALSE
A possible value of PdfBoolean
public const string FALSE = "false"
Field Value
Pdffalse
public static readonly PdfBoolean Pdffalse
Field Value
Pdftrue
static membervariables (possible values of a bool object)
public static readonly PdfBoolean Pdftrue
Field Value
TRUE
A possible value of PdfBoolean
public const string TRUE = "true"
Field Value
Properties
BooleanValue
methods returning the value of this object
public bool BooleanValue { get; }
Property Value
- bool
the actual value of the object.
Methods
ToString()
public override string ToString()