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

TdxCustomSmartImage.SaveToStreamByCodec(TStream,TdxSmartImageCodecClass) Method

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 TdxSmartImageCodecClass

The reference to the codec class associated with the target image format.

#Remarks

Note

The SaveToStreamByCodec procedure raises an exception if the specified image format codec is not registered or is disabled.

See Also