Difference between revisions of "Tabulation getShowResultAsPdf"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Diagram/report generating CGScript functions]]
+
{{HelpFiles}}

 
  
====Tabulation_getShowResultAsPdf====
+
==== Tabulation_getShowResultAsPdf ====
  
Return the setting of exporting the tabulation result to PDF file.
+
Return the setting of exporting the tabulation result to PDF file. Default value is FALSE (Export dialog will not be shown).
  
'''Syntax'''
+
'''Syntax'''  
  
Tabulation_getShowResultAsPdf()
+
Tabulation_getShowResultAsPdf()  
  
'''Arguments'''
+
'''Arguments'''  
  
None
+
None  
  
'''Return value'''
+
'''Return value'''  
  
''bool''
+
''bool''  
  
'''Example'''
+
'''Example'''  
  
 
''bool b = Tabulation_getShowResultAsPdf();''
 
''bool b = Tabulation_getShowResultAsPdf();''
  
'''Availability'''
+
''if (b) print("Export dialog will be shown and you can export report to PDF.");''
  
Version 5.6
+
''else print("Export dialog will not be shown and you cannot export report to PDF.");''
__NOTOC__
+
 
<!-- imported from file: 6316.htm-->
+
''//Result: Export dialog will not be shown and you cannot export report to PDF.''
 +
 
 +
'''Availability'''
 +
 
 +
Version 5.6 __NOTOC__ <!-- imported from file: 6316.htm-->  
 +
 
 +
[[Category:Diagram/report_generating_CGScript_functions]]

Latest revision as of 08:46, 28 December 2011



Tabulation_getShowResultAsPdf

Return the setting of exporting the tabulation result to PDF file. Default value is FALSE (Export dialog will not be shown).

Syntax

Tabulation_getShowResultAsPdf()

Arguments

None

Return value

bool

Example

bool b = Tabulation_getShowResultAsPdf();

if (b) print("Export dialog will be shown and you can export report to PDF.");

else print("Export dialog will not be shown and you cannot export report to PDF.");

//Result: Export dialog will not be shown and you cannot export report to PDF.

Availability

Version 5.6