public final class CosPdfBoolean extends CosPdfPrimitive
This class represents boolean type.
| Constructor and Description |
|---|
CosPdfBoolean(boolean value)
Initializes a new instance of the
PdfBoolean class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines that the specified object is equal to the current object.
|
boolean |
getValue()
Gets the value.
|
int |
hashCode()
Get hashcode for current object.
|
CosPdfBoolean |
toCosPdfBoolean()
Tries cast this instance to
CosPdfBoolean. |
String |
toString()
Returns a
String that represents the current CosPdfBoolean. |
toCosPdfDictionary, toCosPdfName, toCosPdfNumber, toCosPdfStringpublic CosPdfBoolean(boolean value)
Initializes a new instance of the PdfBoolean class.
value - if set to true [value].public final boolean getValue()
Gets the value.
Value: The value.public CosPdfBoolean toCosPdfBoolean()
Tries cast this instance to CosPdfBoolean.
toCosPdfBoolean in interface ICosPdfPrimitivetoCosPdfBoolean in class CosPdfPrimitiveCosPdfBoolean else CosPdfBoolean.public String toString()
Returns a String that represents the current CosPdfBoolean.
toString in interface ICosPdfPrimitivetoString in class ObjectString that represents the current CosPdfBoolean.public int hashCode()
Get hashcode for current object.
Copyright © 2025 Aspose. All Rights Reserved.