Class PdfBoolean
A PDF boolean (true/false).
public sealed class PdfBoolean : PdfObject
- Inheritance
-
PdfBoolean
- Inherited Members
Fields
False
The false instance.
public static readonly PdfBoolean False
Field Value
True
The true instance.
public static readonly PdfBoolean True
Field Value
Properties
ObjectType
The kind of this object.
public override PdfObjectType ObjectType { get; }
Property Value
Value
The boolean value.
public bool Value { get; }
Property Value
Methods
Clone()
Returns this instance (the object is immutable).
public override PdfObject Clone()
Returns
Equals(object?)
True if obj is a PdfBoolean with the same value.
public override bool Equals(object? obj)
Parameters
objobject
Returns
Get(bool)
public static PdfBoolean Get(bool value)
Parameters
valuebool
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.