PeachPDF

PeachPDF.Layout.IContainer

IContainer.Id(string) Method

Tags this container with a CSS id, so a stylesheet attached via Stylesheet(PeachPdfCssContent) can target it with a #id selector. Purely inert metadata with no visual effect when no stylesheet is attached. Calling this more than once on the same container replaces the previous id (an element has at most one id) - unlike Class(string), this does not accumulate.

PeachPDF.Layout.IContainer Id(string id);

Parameters

id System.String

Returns

IContainer