Table of Contents

Class PdfBoolean

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a direct boolean value.

public sealed class PdfBoolean : PdfItem, ICloneable
Inheritance
PdfBoolean
Implements
Inherited Members

Constructors

PdfBoolean()

Initializes a new instance of the PdfBoolean class.

public PdfBoolean()

PdfBoolean(bool)

Initializes a new instance of the PdfBoolean class.

public PdfBoolean(bool value)

Parameters

value bool

Fields

False

A pre-defined value that represents false.

public static readonly PdfBoolean False

Field Value

PdfBoolean

True

A pre-defined value that represents true.

public static readonly PdfBoolean True

Field Value

PdfBoolean

Properties

Value

Gets the value of this instance as boolean value.

public bool Value { get; }

Property Value

bool

Methods

ToString()

Returns 'false' or 'true'.

public override string ToString()

Returns

string