PeachPDF

PeachPDF.Layout.IContainer

IContainer.Tag(string) Method

Renames this container’s own internal tag name (a synthetic "div"/"img"/"a" by default, depending on which method created it) to tagName, so a stylesheet attached via Stylesheet(PeachPdfCssContent) can target it with a bare type selector (e.g. li { ... }) matching the intended semantic element rather than the internal default. Purely inert metadata with no visual effect when no stylesheet is attached.

PeachPDF.Layout.IContainer Tag(string tagName);

Parameters

tagName System.String

Returns

IContainer