PDFium Delphi Component Docs

StructureElementRawTypeFeaturesAvailable function

Unit: PDFium
Reports whether the loaded pdfium.dll exports FPDF_StructElement_GetRawType

Syntax

function StructureElementRawTypeFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

StructureElementRawTypeFeaturesAvailable loads the selected PDFium module when necessary and returns True when the optional FPDF_StructElement_GetRawType entry point is exported

When the export is present, structure snapshots populate TPdfStructureElement.RawTypeName with the unmapped /S name before RoleMap resolution while TypeName continues to report the RoleMap-resolved standard type

Remarks

Example

if StructureElementRawTypeFeaturesAvailable then
  RawTag := Pdf.StructureElements[0].RawTypeName;

See Also

TPdf.StructureElements, TPdf.StructureTraversal