Difference between revisions of "GetReportStyleSheetId"
Cg huyphong (talk | contribs) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [Will obsolete soon and replace by [[Tabulation_class|Tabulation.StyleSheet]]. More detail at [[ConversionMethods|ConversionMethods]] ] |
− | |||
− | =====getReportStyleSheetId===== | + | ===== getReportStyleSheetId ===== |
− | Gets the primary key of the report style sheet which is used when displaying diagrams. If no report style sheet is in use the empty must be returned. | + | Gets the primary key of the report style sheet which is used when displaying diagrams. If no report style sheet is in use the empty must be returned. |
− | '''Syntax''' | + | '''Syntax''' |
− | getReportStyleSheetId() | + | getReportStyleSheetId() |
− | '''Arguments''' | + | '''Arguments''' |
− | none | + | none |
− | '''Return type''' | + | '''Return type''' |
− | number | + | number |
− | '''Examples''' | + | '''Examples''' |
− | ''getReportStyleSheetId();'' | + | ''number stylesheetId = getReportStyleSheetId();'' |
− | '' | + | ''print(stylesheetId); //Result: empty since no Report style sheet is in use.'' |
− | Version 5.4 | + | ''setReportStyleSheetId(570);'' |
− | __NOTOC__ | + | |
− | <!-- imported from file: 4194.htm--> | + | ''number stylesheetId = getReportStyleSheetId();'' |
+ | |||
+ | ''print(stylesheetId); //Result: 570 since Report style sheet with Id 570 is in use.'' | ||
+ | |||
+ | '''Availability''' | ||
+ | |||
+ | Version 5.4 __NOTOC__ <!-- imported from file: 4194.htm--> | ||
+ | |||
+ | [[Category:Style_setting_functions]] |
Latest revision as of 03:33, 13 May 2022
[Will obsolete soon and replace by Tabulation.StyleSheet. More detail at ConversionMethods ]
getReportStyleSheetId
Gets the primary key of the report style sheet which is used when displaying diagrams. If no report style sheet is in use the empty must be returned.
Syntax
getReportStyleSheetId()
Arguments
none
Return type
number
Examples
number stylesheetId = getReportStyleSheetId();
print(stylesheetId); //Result: empty since no Report style sheet is in use.
setReportStyleSheetId(570);
number stylesheetId = getReportStyleSheetId();
print(stylesheetId); //Result: 570 since Report style sheet with Id 570 is in use.
Availability
Version 5.4