![]() |
ExportStyle()








Public Function |
Declared in: NiGraph3d.h |
Declaration
void ExportStyle( LPCTSTR FileName);
Description
Exports the style of the control to a file.
Notes:
1. A style is the complete current state of a control. For example, on a CNiSlide control the current values of pointers, all colors, all fonts, and all imported images are examples of a current state that is saved.
2. Use ExportStyle to save the style of a control after you have configured it. For example, if you often create a new CNiGraph3D control and set properties such as tick colors, axes ranges, and background colors, you can save the style of the graph once you have configured it. Then, when you want to create a graph of the same style, create a new graph, access the property pages, and import the exported style.
3. You can import or export a style from the property page or you can import it or export it programmatically using ImportStyle or ExportStyle.
Parameters
The name of the style file to save.