You can
export the template code for any user-defined style that has been
created in ODS Graphics Designer. This feature is useful when you
want to generate graphs outside of ODS Graphics Designer.
For example,
suppose that you want to generate a graph by running the SGDESIGN
procedure against an SGD file. To apply a custom style to the graph,
export the custom style and run the exported code to create the style
in SAS. Then, specify the custom style in your ODS statement when
you run the SGDESIGN procedure.
To export
the template code for a style:
-
Select
FileExport Style. The Export Style dialog box opens.
-
From the
Style list box, select the style that you want to export.
Only custom styles are listed in the list box.
-
Specify
a name and location for the SAS program, and then click
Save.