Difference between revisions of "Tabulation setStartingPageNumber"
(Created page with "=== <span style="color:#DF8621">'''Examples'''</span> === <source lang="javascript"> //Starting page number of the PDF report can be set: //Needs a DCS Tabulation_setStarti...") |
(Tag: visualeditor-switched) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{HelpFiles}} | ||
+ | |||
+ | ==== Tabulation_setStartingPageNumber ==== | ||
+ | |||
+ | Set the starting page number for the PDF report. | ||
+ | |||
+ | '''Syntax''' | ||
+ | |||
+ | Tabulation_setStartingPageNumber(''8'') | ||
+ | |||
+ | '''Arguments''' int pagenumber | ||
+ | |||
=== <span style="color:#DF8621">'''Examples'''</span> === | === <span style="color:#DF8621">'''Examples'''</span> === | ||
Line 8: | Line 20: | ||
Tabulation_setStartingPageNumber(8); | Tabulation_setStartingPageNumber(8); | ||
</source> | </source> | ||
+ | |||
+ | <br/>{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].'' | ||
+ | ''The pagenumber can be shown in the pdf by inserting $p in a paragraph. $P (capital P) shows the total number of pages. | ||
+ | |||
+ | '''Availability''' | ||
+ | |||
+ | Version 6.0 | ||
+ | [[Category:Using CGScript with the Tabulation Module]] |
Latest revision as of 08:54, 5 June 2017
Tabulation_setStartingPageNumber
Set the starting page number for the PDF report.
Syntax
Tabulation_setStartingPageNumber(8)
Arguments int pagenumber
Examples
//Starting page number of the PDF report can be set:
//Needs a DCS
Tabulation_setStartingPageNumber(8);
Note: This function should be paired with function Tabulation_setShowResultAsPdf.
The pagenumber can be shown in the pdf by inserting $p in a paragraph. $P (capital P) shows the total number of pages.
Availability
Version 6.0