TdxCustomSmartImage.SaveToStreamByCodec(TStream,TdxSmartImageCodecClass) Method
In This Article
Saves the stored image to a stream in a specified format.
#Declaration
Delphi
procedure SaveToStreamByCodec(AStream: TStream; ACodec: TdxSmartImageCodecClass); overload;
#Parameters
Name | Type | Description |
---|---|---|
AStream | TStream | The target stream. |
ACodec | Tdx |
The reference to the codec class associated with the target image format. |
#Remarks
Note
The Save
procedure raises an exception if the specified image format codec is not registered or is disabled.
See Also