THotPDF.BeginTaggedContentForStructure Method

Allocates the next MCID on the current page, opens a marked-content sequence, and attaches it to a structure element that already exists

Declaration

function BeginTaggedContentForStructure(
  const Role: AnsiString;
  StructElem: THPDFDictionaryObject;
  const Lang: AnsiString = '';
  const Alt: AnsiString = '';
  const ActualText: AnsiString = '';
  const ExpansionText: AnsiString = ''): Integer;

Return value

Returns the allocated non-negative MCID, or -1 when no current page exists

Usage notes

Related APIs