PdfBoolean Class

A boolean (ISO 32000-2, 7.3.2).

public sealed class PdfBoolean : PdfObject
Inheritance
PdfObject PdfBoolean

Properties

NameDescription
FalseGets the false object.
KindGets the kind of the object.
TrueGets the true object.
ValueGets the value.

Gets the false object.

public static PdfBoolean False { get; }

Property value

PdfBoolean

Gets the kind of the object.

public override PdfObjectKind Kind { get; }

Property value

PdfObjectKind

Gets the true object.

public static PdfBoolean True { get; }

Property value

PdfBoolean

Gets the value.

public bool Value { get; }

Property value

bool

Methods

NameDescription
Get(bool)Gets the object of a value.

Get(bool)

PdfBoolean.cs

Gets the object of a value.

public static PdfBoolean Get(bool value)

Parameters

value bool
The value.

Returns

PdfBoolean PdfBoolean.True or PdfBoolean.False.