dxGaugeSaveStyleToStream(TdxGaugeScaleType,string,TStream) Method
Extracts the specified visual style of the required scale type to a stream.
Declaration
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