Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxGaugeSaveStyleToFile(TdxGaugeScaleType,string,string) Method

Extracts the specified visual style of the required scale type to a file.

#Declaration

Delphi
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