dxGaugeSaveStyleToFile(TdxGaugeScaleType,string,string) Method
Extracts the specified visual style of the required scale type to a file.
Declaration
procedure dxGaugeSaveStyleToFile(AScaleType: TdxGaugeScaleType; const AStyleName: string; const AFileName: string);
Parameters
Name | Type |
---|---|
AScaleType | TdxGaugeScaleType |
AStyleName | string |
AFileName | string |
Remarks
Use this procedure to save the visual style, whose name is specified as the AStyleName parameter, to the XML file format. The AScaleType parameter specifies the scale type whose style is extracted by the dxGaugeSaveStyleToFile procedure while the AFileName parameter specifies the path to the file with the extracted style information.
The dxGaugeSaveStyleToFile procedure is useful if you need to create a custom visual style for the scale based on one of the scale’s pre-built styles.
Note
If you need to register a visual style from the custom XML file storing the style information, use the dxGaugeRegisterStyleFromFile function.
See Also