actualText
TypeScriptget actualText(): (string) | nullSwift declarationvar actualText: String?Text that is an exact replacement for the element and its children, used when extracting the document's contents.
struct · iOS 27.0+ · SDK 27.1
struct AttributesThe accessibility and presentation attributes of a structure element. The underlying tagged-PDF API accepts these attributes only at creation time, so they are supplied as a value when constructing a `CGPDFStructureElement` rather than mutated afterwards.
get actualText(): (string) | nullSwift declarationvar actualText: String?Text that is an exact replacement for the element and its children, used when extracting the document's contents.
set actualText(value: (string) | null)Swift declarationvar actualText: String?Text that is an exact replacement for the element and its children, used when extracting the document's contents.
get expansionText(): (string) | nullSwift declarationvar expansionText: String?The expansion of an abbreviation or acronym.
set expansionText(value: (string) | null)Swift declarationvar expansionText: String?The expansion of an abbreviation or acronym.
get alternativeText(): (string) | nullSwift declarationvar alternativeText: String?An alternate description of the element and its children, typically used for graphical content such as an image.
set alternativeText(value: (string) | null)Swift declarationvar alternativeText: String?An alternate description of the element and its children, typically used for graphical content such as an image.
static init(title?: (string) | null, language?: (_Foundation_Locale_Language) | null, alternativeText?: (string) | null, expansionText?: (string) | null, actualText?: (string) | null): CGPDFStructureElement_AttributesSwift declarationinit(title: String? = nil, language: Locale.Language? = nil, alternativeText: String? = nil, expansionText: String? = nil, actualText: String? = nil)get title(): (string) | nullSwift declarationvar title: String?A human-readable title for the element. Presentational only; it should not be relied upon for accessibility.
set title(value: (string) | null)Swift declarationvar title: String?A human-readable title for the element. Presentational only; it should not be relied upon for accessibility.
get language(): (_Foundation_Locale_Language) | nullSwift declarationvar language: Locale.Language?The natural language of the element's content, used when it differs from the document's language.
set language(value: (_Foundation_Locale_Language) | null)Swift declarationvar language: Locale.Language?The natural language of the element's content, used when it differs from the document's language.
No declarations were skipped in this snapshot.