Class PdfBoolean
Boolean object (ISO 32000-2 7.3.2).
public sealed record PdfBoolean : PdfObject, IEquatable<PdfObject>, IEquatable<PdfBoolean>
- Inheritance
-
PdfBoolean
- Implements
- Inherited Members
Constructors
PdfBoolean(bool)
Boolean object (ISO 32000-2 7.3.2).
public PdfBoolean(bool Value)
Parameters
Valuebool
Fields
False
public static readonly PdfBoolean False
Field Value
True
public static readonly PdfBoolean True
Field Value
Properties
Value
public bool Value { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
TryGetBoolean(out bool)
public override bool TryGetBoolean(out bool value)
Parameters
valuebool