Optionalother: PdfIndirectObject<PdfObject> | { form?: PdfAcroForm<Record<string, string>> }Optional Internal_Protected OptionalcachedCached byte representation of the object, if available
OptionalcompressedOptionalencryptableProtectedimmutableIndicates whether the object is immutable (cannot be modified)
ProtectedmodifiedIndicates whether the object has been modified. By default, assume it has been modified because it's a new object
OptionalorderOptionalpostOptional tokens to prepend or append during serialization
OptionalpreOptional tokens to prepend or append during serialization
Static ReadonlyMAX_Returns true if this object's serialized form ends with a self-delimiting
character (e.g., ), >, ], >>). Such objects do not require trailing
whitespace before the next token.
The type of this PDF object
Protected_Writes the value to the dictionary. Returns true if appearance generation should proceed, false to skip it (e.g. when value was cleared). Override in subclasses to change the stored representation.
Builds a Resources dictionary containing the font entry for fontName,
resolved from DR (handling indirect references) or from a loaded font.
Returns undefined if neither source provides the font.
Creates a deep clone of the object
Creates a deep clone of the object. Override this method in subclasses to ensure all properties are cloned correctly
Compares this object to another for equality based on their token representations
Optionalother: PdfObjectOptionalsetting: stringIndicates whether the object is immutable (cannot be modified)
Indicates whether the object has been modified. Override this method if the modified state is determined differently
Optionalref: PdfObjectReference<PdfIndirectObject<PdfObject>>Optionalcls: new (options: PdfIndirectObject) => TSets the immutable state of the object
Optionalimmutable: booleanSets the modified state of the object. Override this method if the modified state is determined differently
Serializes the document to a Base64-encoded string.
A promise that resolves to the PDF document as a Base64 string
Converts the object to a ByteArray, optionally padding to a specified length
OptionalpadTo: numberProtectedtokenizeTokenizes the object into an array of PdfTokens
Converts the object to a string representation
Converts the object to an array of PdfTokens, including any pre or post tokens
StaticcreateOptionalother: PdfIndirectObject<PdfObject>StaticcreateStaticregisterOptionaloptions: { fallback?: boolean }
Signature form field subtype.