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

dxGaugeSaveStyleToStream(TdxGaugeScaleType,string,TStream) Method

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

#Declaration

Delphi
procedure dxGaugeSaveStyleToStream(AScaleType: TdxGaugeScaleType; const AStyleName: string; AStream: TStream);

#Parameters

Name Type
AScaleType TdxGaugeScaleType
AStyleName string
AStream TStream

#Remarks

Use this procedure to save the visual style, whose name is specified as the AStyleName parameter, to a stream specified as the AStream parameter. The AScaleType parameter specifies the scale type whose style is extracted by the dxGaugeSaveStyleToStream procedure.

The dxGaugeSaveStyleToStream procedure is particularly useful if you need to extract one of the existing styles to the custom file format.

Note

If you need to register a visual style from the custom XML file storing the style information, use the dxGaugeRegisterStyleFromFile function.

See Also