Difference between revisions of "Tabulation setHasPageNumber"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Diagram/report generating CGScript functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
 
  
====Tabulation_setHasPageNumber====
+
==== Tabulation_setHasPageNumber ====
  
Set page number to PDF file
+
Set page number to PDF file  
  
'''Syntax'''
+
'''Syntax'''  
  
Tabulation_setHasPageNumber(boolValue)
+
Tabulation_setHasPageNumber(boolValue)  
  
'''Arguments'''
+
'''Arguments'''  
  
boolValue: is bool. If boolValue = true, page number is set, whereas page number is not set.
+
boolValue: is bool. If boolValue = true, page number is set, whereas page number is not set.  
  
'''Return value'''
+
'''Return value'''  
  
empty
+
empty  
  
'''Example'''
+
'''Example'''  
  
<nowiki>array groups = {{1, "Read"}, {2, "Write"}};</nowiki>
+
''<nowiki>array groups = {{1, "Read"}, {2, "Write"}};</nowiki> ''
  
number a = createFrequenceDiagram("Single");
+
''number a = createFrequenceDiagram("Single"); ''
  
number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true);
+
''number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true); ''
  
Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape);
+
''Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape); ''
  
Tabulation_setFooterText("Loser");
+
''Tabulation_setFooterText("Loser"); ''
  
Tabulation_setHasPageNumber(true);
+
''Tabulation_setHasPageNumber(true); ''
  
Tabulation_setShowResultAsPdf(true);
+
''Tabulation_setShowResultAsPdf(true); ''
  
'''Availability'''
+
''//Result: PDF file will be shown page number.''
  
Version 5.7
+
'''Availability'''
__NOTOC__
+
 
<!-- imported from file: 7535.htm-->
+
Version 5.7 __NOTOC__ <!-- imported from file: 7535.htm-->  
 +
 
 +
[[Category:Diagram/report_generating_CGScript_functions]]

Revision as of 09:35, 28 December 2011



Tabulation_setHasPageNumber

Set page number to PDF file

Syntax

Tabulation_setHasPageNumber(boolValue)

Arguments

boolValue: is bool. If boolValue = true, page number is set, whereas page number is not set.

Return value

empty

Example

array groups = {{1, "Read"}, {2, "Write"}};

number a = createFrequenceDiagram("Single");

number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true);

Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape);

Tabulation_setFooterText("Loser");

Tabulation_setHasPageNumber(true);

Tabulation_setShowResultAsPdf(true);

//Result: PDF file will be shown page number.

Availability

Version 5.7