PDFium Component Docs

Função ClassifyStructType

Unidade: PDFium
Classifica um nome de tipo de elemento de estrutura em TPdfContentFragmentKind e num nível de título opcional

Syntax

function ClassifyStructType(const TypeName: WString; out HeadingLevel: Integer): TPdfContentFragmentKind;

Parameters

TypeNameWString
HeadingLevelInteger

Return Value

TPdfContentFragmentKind

Description

ClassifyStructType maps a PDF structure element /S name to the readable-content fragment kind used by TPdf.ReadableContent

Classifies a structure element type name into a TPdfContentFragmentKind and optional heading level

Remarks

Example

Kind := ClassifyStructType(TypeName, HeadingLevel);

See Also

TPdf.ReadableContent, TPdf.StructureElements, ValidatePdfUaStructureElements