THotPDF.BeginTaggedParagraph Method

Begins the tagged paragraph sequence for the Tagged PDF accessibility workflow. Keep the returned object or current graphics state balanced with the matching end call before finalising the page or document

Declaration

function BeginTaggedParagraph(Parent: THPDFDictionaryObject; const Lang: AnsiString= ''; const ActualText: AnsiString= ''): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
ParentParent structure element, normally a Document, Sect, Div, or other semantic container
LangOptional BCP 47 language tag written to the marked-content properties
ActualTextOptional replacement text used for extraction and assistive technology

Return value

Returns the created /P structure element connected to the current page through its allocated MCID

Usage notes

Related APIs