VCSaveStyle


Version:

1.2

Description:

Saves part of the current drawing environment to a style file. This style file can subsequently be loaded to recreate the drawing environment.

Declaration:

 

C/C++

extern "C" void WINAPI VCSaveStyle(char* fname);

Delphi

procedure VCSaveStyle(fname: PAnsiChar); stdcall;

ActiveX/COM

Sub SaveStyle(ByVal fname As String)

Parameters:

fname - a string representing the path and name for the style.

Notes:

Use the Save Style command to save related groups of current settings to disk. The settings can then be restored with the VCLoadStyle command. Styles are predefined collections of Visual CADD™ settings, similar in concept to style sheets or templates used in most word processors (for more information about styles, see Load Styles). A style file can include anything from a single set of entity properties (layer, color, line type and line width) to virtually the entire Visual CADD™ drawing environment. Style files allow users to quickly configure all relevant settings necessary for a particular task. By sharing style files users can easily create and follow office drafting standards.

See Also:

VCOpenStyle, VCSaveEnvironment