CNiGraph3D::ExportStyle

3D Graph

Class
CNiGraph3D::
ExportStyle()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: CreateControlNext page: GetClsid    
Public Function Declared in:
NiGraph3d.h

'Declaration' icon -- Shortcut to top of page. Declaration

void ExportStyle(
    LPCTSTR FileName);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

LPCTSTR FileName

The name of the style file to save.

'See Also' icon -- Shortcut to top of page. See Also