One Logo Pool Ball
CoreGraphics · IOS API REFERENCE

CGPDFStructureElement.Attributes

struct · iOS 27.0+ · SDK 27.1

struct Attributes

The 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.

Members (11)

get · iOS 27.0+

actualText

TypeScript
get actualText(): (string) | null
Swift declaration
var actualText: String?

Text that is an exact replacement for the element and its children, used when extracting the document's contents.

set · iOS 27.0+

actualText

TypeScript
set actualText(value: (string) | null)
Swift declaration
var actualText: String?

Text that is an exact replacement for the element and its children, used when extracting the document's contents.

get · iOS 27.0+

expansionText

TypeScript
get expansionText(): (string) | null
Swift declaration
var expansionText: String?

The expansion of an abbreviation or acronym.

set · iOS 27.0+

expansionText

TypeScript
set expansionText(value: (string) | null)
Swift declaration
var expansionText: String?

The expansion of an abbreviation or acronym.

get · iOS 27.0+

alternativeText

TypeScript
get alternativeText(): (string) | null
Swift declaration
var alternativeText: String?

An alternate description of the element and its children, typically used for graphical content such as an image.

set · iOS 27.0+

alternativeText

TypeScript
set alternativeText(value: (string) | null)
Swift declaration
var alternativeText: String?

An alternate description of the element and its children, typically used for graphical content such as an image.

init · iOS 27.0+

init

TypeScript
static init(title?: (string) | null, language?: (_Foundation_Locale_Language) | null, alternativeText?: (string) | null, expansionText?: (string) | null, actualText?: (string) | null): CGPDFStructureElement_Attributes
Swift declaration
init(title: String? = nil, language: Locale.Language? = nil, alternativeText: String? = nil, expansionText: String? = nil, actualText: String? = nil)
get · iOS 27.0+

title

TypeScript
get title(): (string) | null
Swift declaration
var title: String?

A human-readable title for the element. Presentational only; it should not be relied upon for accessibility.

set · iOS 27.0+

title

TypeScript
set title(value: (string) | null)
Swift declaration
var title: String?

A human-readable title for the element. Presentational only; it should not be relied upon for accessibility.

get · iOS 27.0+

language

TypeScript
get language(): (_Foundation_Locale_Language) | null
Swift declaration
var language: Locale.Language?

The natural language of the element's content, used when it differs from the document's language.

set · iOS 27.0+

language

TypeScript
set language(value: (_Foundation_Locale_Language) | null)
Swift declaration
var language: Locale.Language?

The natural language of the element's content, used when it differs from the document's language.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreGraphics types →