Skip to main content

TdxCustomSmartImage.SaveToStreamByCodec(TStream,TdxImageDataFormat) Method

Saves the stored image to a stream in the required format.

Declaration

procedure SaveToStreamByCodec(AStream: TStream; AFormat: TdxImageDataFormat); overload;

Parameters

Name Type Description
AStream TStream

The target stream.

AFormat TdxImageDataFormat

The deprecated image format ID.

Remarks

Important

The SaveToStreamByCodec(System.Classes.TStream,dxSmartImage.TdxImageDataFormat) procedure is deprecated. Call the TdxCustomSmartImage.SaveToStreamByCodec(System.Classes.TStream,dxSmartImage.TdxSmartImageCodecClass) procedure instead.

See Also