Difference between revisions of "Tabulation setHeaderText"
Cg huyphong (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | {{HelpFiles}} | ||
− | =====Tabulation_setHeaderText===== | + | ===== Tabulation_setHeaderText ===== |
− | Set page number to PDF file | + | Set page number to PDF file |
− | '''Syntax''' | + | '''Syntax''' |
− | Tabulation_setHeaderText(text) | + | Tabulation_setHeaderText(text) |
− | '''Arguments''' | + | '''Arguments''' |
− | text: is string which is header text of PDF file | + | text: is string which is header text of PDF file |
− | '''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("test test", 15707010, groups, true); | + | ''number reportUniqueId = Tabulation_saveAsReport("test test", 15707010, groups, true); '' |
− | Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape); | + | ''Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape); '' |
− | Tabulation_setHeaderText("Hero"); | + | ''Tabulation_setHeaderText("Hero"); '' |
− | Tabulation_setShowResultAsPdf(true); | + | ''Tabulation_setShowResultAsPdf(true); '' |
− | '' | + | ''//Result: Header text of PDF file is "Hero" '' |
− | Version 5.7 | + | {{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf]. '' |
− | __NOTOC__ | + | |
− | <!-- imported from file: 7536.htm--> | + | '''Availability''' |
+ | |||
+ | Version 5.7 __NOTOC__ <!-- imported from file: 7536.htm--> | ||
+ | |||
+ | [[Category:Text_setting_functions]] |
Revision as of 09:02, 29 December 2011
Tabulation_setHeaderText
Set page number to PDF file
Syntax
Tabulation_setHeaderText(text)
Arguments
text: is string which is header text of PDF file
Return value
empty
Example
array groups = {{1, "Read"}, {2, "Write"}};
number a = createFrequenceDiagram("Single");
number reportUniqueId = Tabulation_saveAsReport("test test", 15707010, groups, true);
Tabulation_setPDFPrintingDirection(Diagram_PdfLayoutDirection_Landscape);
Tabulation_setHeaderText("Hero");
Tabulation_setShowResultAsPdf(true);
//Result: Header text of PDF file is "Hero"
Note: This function should be paired with function Tabulation_setShowResultAsPdf.
Availability
Version 5.7