Difference between revisions of "Tabulation setPDFPrintingDirection"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Diagram/report generating CGScript functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
 
  
====Tabulation_setPDFPrintingDirection====
+
==== Tabulation_setPDFPrintingDirection ====
  
Set PDF printing direction
+
Set PDF printing direction  
  
'''Syntax'''
+
'''Syntax'''  
  
Tabulation_setPDFPrintingDirection(direction)
+
Tabulation_setPDFPrintingDirection(direction)  
  
'''Arguments'''
+
'''Arguments'''  
  
* direction: is number
+
''direction:'' Is a numeric (non-decimal) expression. The direction must be one of the values specified below
  
'''Return value'''
+
*1: Diagram_PdfLayoutDirection_Portrait
 +
*2: Diagram_PdfLayoutDirection_Landscape
  
empty
+
'''Return value'''
  
'''Example'''
+
empty
  
<nowiki>array groups = {{1, "Read"}, {2, "Write"}};</nowiki>
+
'''Example'''
  
number a = createFrequenceDiagram("Single");
+
''<nowiki>array groups = {{1, "Read"}, {2, "Write"}};</nowiki> ''
  
number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true);
+
''number a = createFrequenceDiagram("Single"); ''
  
Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape);
+
''number reportUniqueId = Tabulation_saveAsReport("bug bug", 15707010, groups, true); ''
  
Tabulation_setShowResultAsPdf(true);
+
''Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape); ''
  
'''Availability'''
+
''Tabulation_setShowResultAsPdf(true); ''  
  
Version 5.7
+
'''Availability'''
__NOTOC__
+
 
<!-- imported from file: 7557.htm-->
+
Version 5.7 __NOTOC__ <!-- imported from file: 7557.htm-->  
 +
 
 +
[[Category:Diagram/report_generating_CGScript_functions]]

Revision as of 09:33, 28 December 2011



Tabulation_setPDFPrintingDirection

Set PDF printing direction

Syntax

Tabulation_setPDFPrintingDirection(direction)

Arguments

direction: Is a numeric (non-decimal) expression. The direction must be one of the values specified below

  • 1: Diagram_PdfLayoutDirection_Portrait
  • 2: Diagram_PdfLayoutDirection_Landscape

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_setShowResultAsPdf(true);

Availability

Version 5.7