ImportStyle Method

Measurement Studio User Interface

ImportStyle Method

Syntax

Object.ImportStyle FileName

Applies To

CWButton

CWGraph

CWKnob

CWNumEdit

CWSlide

Purpose

Imports a previously exported style.

Remarks

By default, Measurement Studio style files have a .cwx extension. You can export styles from the property page, or programmatically using ExportStyle.

Parameters

FileName As String

The name of the style file to load.

Example

'Export a style
CWGraph1.ExportStyle "c:\LogGraph.cwx"

'Import a style into graph2
CWGraph2.ImportStyle "c:\LinearGraph.cwx"

See Also

ExportStyle