Class PdfStructAttributeValue
public sealed class PdfStructAttributeValue : PdfTaggedObject, IDisposable
- Inheritance
-
PdfStructAttributeValue
- Implements
- Inherited Members
Methods
GetValueType()
Gets the underlying type of this attribute value.
public PdfObjectType GetValueType()
Returns
- PdfObjectType
The PdfObjectType enum value representing the attribute's type.
TryGetBoolean()
public bool? TryGetBoolean()
Returns
- bool?
TryGetNumber()
Attempts to retrieve the attribute's value as a float.
public float? TryGetNumber()
Returns
- float?
The numeric value, or
null
if the value is not a number.
TryGetString()
Attempts to retrieve the attribute's value as a UTF-8 string.
public string? TryGetString()
Returns
- string
The string value, or
null
if the value is not a string or missing.