Click or drag to resize
Pdftools logo

ContentGenerator Constructor

Create a new content generator for appending or prepending to the content of a group.


Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.Content
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
Syntax
C#
public ContentGenerator(
	Content content,
	bool prepend
)

Parameters

content  Content
the content object of a page or group
prepend  Boolean
for prepending to the content (apply content to background of page), for appending (apply content to foreground of page)
Exceptions
ExceptionCondition
ArgumentExceptionif the document associated with content has already been closed
ArgumentExceptionif the page or group associated with the content has already been appended or closed
ArgumentNullExceptionif content is .
See Also