Tabulation getShowResultAsPdf: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import  |
No edit summary  |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{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();'' | ||
'' | ''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 07: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