PDFium Delphi Component Docs

StructureElementRawTypeFeaturesAvailable function

Unit: PDFium
Indicates whether the loaded pdfium.dll provides the FPDF_StructElement_GetRawType export

Syntax

function StructureElementRawTypeFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

StructureElementRawTypeFeaturesAvailable loads the selected PDFium module when needed and returns True if the optional FPDF_StructElement_GetRawType entry point is present among the module's exports

With the export available, 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