Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Parameters Return Type Description

This class exposes no events.

Methods #

Definition Parameters Return Type Description

This class exposes no methods.

Properties #

Name Type Default Value Description
FooterLeft String “” Text to display in the left position of page footers.
FooterRight String “” Text to display in the right position of page footers.
HasTitlePage Boolean True When True, headers and footers will not be applied to first page, nor will it count toward total page count.
HeaderLeft String “” Text to display in the left position of page headers.
HeaderRight String “” Text to display in the right position of page headers.
MarginBottom Integer 20 Margin applied between the bottom of the page and the content.
MarginLeft Integer 20 Margin applied between the left side of the page and the content.
MarginRight Integer 20 Margin applied between the right side of the page and the content.
MarginTop Integer 20 Margin applied between the top of the page and the content.

Examples #

Dynamic Headers and Footers #

Headers and Footers can contain the current and maximum page numbers. Use %x for current page and %y for page count.

var template as new GraffitiPDFTemplate()
template.HeaderLeft = "Test Document"
template.HeaderRight = "Page %x of %y"
template.FooterLeft = "Footer Left"
template.FooterRight = "Page %x of %y"
template.HasTitlePage = True
doc.Template = template

Notes #

This class currently has no notes.