CFLPageNumberOutputFile Procedure

  • 2 minutes to read

Codeunit CFL PDFProgram

Add page numbers to output file

Overloads

Name Description
CFLPageNumberOutputFile(text)
CFLPageNumberOutputFile(text; enum "CFL Watermark Position"; text; text; text; text; text; text; text) Add page numbers to output file

CFLPageNumberOutputFile(text) Procedure

Signature

CFLPageNumberOutputFile(PageNoText: text)

Parameters

PageNoText text

CFLPageNumberOutputFile(text; enum "CFL Watermark Position"; text; text; text; text; text; text; text) Procedure

Add page numbers to output file

Signature

CFLPageNumberOutputFile(WatermarkText: text; Position: enum "CFL Watermark Position"; MarginHorizontal: text; MarginVertical: text; Size: text; Rotation: text; FontName: text; Color: text; Opacity: text)

Parameters

WatermarkText text

Text to be used as page number. This can contain %1 and %2 placeholders. %1 will be replaced by current page number, %2 by total number of pages

Position enum "CFL Watermark Position"

Position of the watermark

MarginHorizontal text

Horizontal margin

MarginVertical text

Vertical margin

Size text

Size of the watermark

Rotation text

Rotation of the watermark

FontName text

Font name of the watermark

Color text

Color of the watermark

Opacity text

Opacity of the watermark

Remarks

if a custom font is used, then it should be added before by the function CFLAddFont