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