PeachDrawing.PDF.PdfComposer

PdfComposer.CreateTagRecorder(bool) Method

Starts recording the document’s logical structure, which makes the file a tagged PDF. A recorder replaces the structure tree any earlier one wrote.

public PeachDrawing.PDF.PdfTagRecorder CreateTagRecorder(bool requireAlternateText=false);

Parameters

requireAlternateText System.Boolean

whether a figure with no alternative text gets an empty one (which marks it decorative) instead of none: required by the accessible PDF/A levels

Returns

PdfTagRecorder
the recorder to open structure elements with while pages are drawn; a document has one structure tree, so asking again returns the same recorder (and the first call’s requireAlternateText stays in force)