pdf-lite - v1.6.0
    Preparing search index...

    Value object that parses and builds DA (Default Appearance) strings. DA format: "/FontName FontSize Tf ColorOp"

    Extends PdfString so it can be stored directly in dictionaries without additional wrapping.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cachedTokens?: PdfToken[]

    Cached byte representation of the object, if available

    immutable: boolean = false

    Indicates whether the object is immutable (cannot be modified)

    modified: boolean = true

    Indicates whether the object has been modified. By default, assume it has been modified because it's a new object

    postTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    preTokens?: PdfToken[]

    Optional tokens to prepend or append during serialization

    Accessors

    • get isTrailingDelimited(): boolean

      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.

      Returns boolean

    • get isUTF16BE(): boolean

      Checks if this string is UTF-16BE encoded (has UTF-16BE BOM). UTF-16BE strings start with the byte order mark 0xFE 0xFF.

      Returns boolean

    Methods