PdfBoolean Class
Represents PDF logical values of true and false.
There are only two instances of this type and those are True and False.
public sealed class PdfBoolean : PdfBasicValue
Public NotInheritable Class PdfBoolean
Inherits PdfBasicValue
- Inheritance:
- PdfBoolean
Properties
False
Gets the PdfBoolean instance with logical value false.
Property Value
The PdfBoolean instance with logical value false.
ObjectType
Gets the Boolean value.
public override PdfBasicObjectType ObjectType { get; }
Public Overrides ReadOnly Property ObjectType As PdfBasicObjectType
Property Value
The Boolean value.
Overrides
True
Gets the PdfBoolean instance with logical value true.
Property Value
The PdfBoolean instance with logical value true.
Value
Gets a System.Boolean value of this PdfBoolean instance.
Property Value
- System.Boolean
A System.Boolean value of this PdfBoolean instance.
Methods
Equals(Object)
Determines whether the specified Object is equal to this PdfBoolean instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- Object
The Object to compare with this PdfBoolean instance.
Returns
- System.Boolean
true if the specified Object is equal to this PdfBoolean instance; otherwise, false.
Overrides
GetHashCode()
Returns a hash code for this PdfBoolean instance.
Returns
A hash code for this PdfBoolean instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
ToString()
Returns a String that represents this PdfBoolean instance.
Returns
A String that represents this PdfBoolean instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Inherited Properties
Null | Gets the single instance of Null type. (Inherited from PdfBasicObject) |