Namespace: PdfSharp.Pdf
Represents a direct boolean value.
public sealed class PdfBoolean : PdfItem, System.ICloneable
Inheritance Object → PdfItem → PdfBoolean
Implements ICloneable
A pre-defined value that represents true
.
public static PdfBoolean True;
A pre-defined value that represents false
.
public static PdfBoolean False;
Gets the value of this instance as boolean value.
public bool Value { get; }
Initializes a new instance of the PdfBoolean class.
public PdfBoolean()
Initializes a new instance of the PdfBoolean class.
public PdfBoolean(bool value)
value
Boolean
Returns ‘false’ or ‘true’.
public string ToString()
Writes ‘true’ or ‘false’.
internal void WriteObject(PdfWriter writer)
writer
PdfWriter