[]
        
(Showing Draft Content)

IPdfTagContentOptions Interface

IPdfTagContentOptions Interface

Represents the options to mark the content with.

Heirarchy

  • IPdfTagContentOptions

Properties

Properties

Optional actual

actual: string

Text that is an exact replacement for the marked content. Used only if the content is marked with PdfTagType.Span.

The default value is undefined which means that the marked content has no replacement.

Optional alt

alt: string

An alternative description of the marked contentand its children in human-redable form. Used only if the content is marked with PdfTagType.Span.

The default value is undefined which means that the marked content does not have an alternative description.

Optional expanded

expanded: string

The expanded form of an abbreviation (PDF 1.5) Used only if the content is marked with PdfTagType.Span.

The default value is undefined which means that the marked content does not have the expanded form of an abbreviation.

Optional lang

lang: string

A language code specifying the natural language for all text in the marked content. Used only if the content is marked with PdfTagType.Span.

The language code is a 2-character ISO 639 language code (e.g. "en" for English or "ja" for Japanese) followed by an optional 2-character ISO 3166 country code (e.g. "US" for the United States or "JP" for Japan). For example: "en", "en-US", "ja-JP".

The default value is undefined which means that the marked content does not have the default natural language.