Skip to main content

Class PdfBoolean

Namespace: AdCodicem.Pdf.Objects
Assembly: AdCodicem.Pdf.dll

Represents a PDF boolean.

public sealed class PdfBoolean : PdfObject

Inheritance​

object ← PdfObject ← PdfBoolean

Inherited Members​

PdfObject.Resolve(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Extension Methods​

PdfObjectExtensions.AsArray(PdfObject?), PdfObjectExtensions.AsBoolean(PdfObject?), PdfObjectExtensions.AsDictionary(PdfObject?), PdfObjectExtensions.AsInteger(PdfObject?), PdfObjectExtensions.AsName(PdfObject?), PdfObjectExtensions.AsNumber(PdfObject?), PdfObjectExtensions.AsStream(PdfObject?), PdfObjectExtensions.AsString(PdfObject?), PdfObjectExtensions.AsText(PdfObject?), PdfObjectExtensions.Resolved(PdfObject?)

Fields​

False​

The boolean false.

public static readonly PdfBoolean False

Field Value​

PdfBoolean

True​

The boolean true.

public static readonly PdfBoolean True

Field Value​

PdfBoolean

Properties​

Value​

Gets the boolean value.

public bool Value { get; }

Property Value​

bool

Methods​

Get(bool)​

Returns the shared instance for value.

public static PdfBoolean Get(bool value)

Parameters​

value bool

Returns​

PdfBoolean

ToString()​

Returns a string that represents the current object.

public override string ToString()

Returns​

string

A string that represents the current object.