Specifies action items for a PDF or FlashPaper document created by the cfdocument tag.
<cfdocumentitem type="pagebreak">
cfdocumentitem(type="pagebreak");
Name | Type | Required | Default | Description |
---|---|---|---|---|
type | string | Yes | Specifies the action: - pagebreak: start a new page at the location of the tag. - header: use the text between the and - footer: use the text between the and |
|
evalAtPrint | boolean | No | Specifies whether to evaluate expressions inside cfdocumentitem tag at runtime. |
Insert a pagebreak into the document
cfdocumentitem( type="pagebreak" );
Insert a page footer into the document
cfdocumentitem( type="footer" ) {
writeOutput(' -- My Page Footer -- ');
}