auto_AssignStyleOrderΒΆ
auto_AssignStyleOrder assigns the styles for all 1D and 2D datasets of the given page.
-
bool = auto_AssignStyleOrder(hPage)
-
bool = auto_AssignStyleOrder(hPage, ssStyleFile)
Return Value
bool is TRUE (1), when the style was assigned and otherwise FALSE (0).
Parameters
-
hPage
hPage is the handle of a page.
-
ssStyleFile
ssStyleFile is the name of a style file. If this parameter is not specified, the function will use the file that is selected in dialog box Tools=>Dataset Style Order Configuration.
Example
hPage = auto_LoadTemplate();
..
..
auto_AssignStyleOrder(hPage);
See also
Overview Automation, Tools=>Dataset Style Order Configuration, auto_LoadStyleFile, auto_LoadTemplate, auto_xy_SetStyle
id-696395