Skip to main content

TdxPNGImage.SaveToStream(TStream) Method

Saves the stored PNG image to the specified stream.

Declaration

procedure SaveToStream(AStream: TStream); override;

Parameters

Name Type
AStream TStream

Remarks

Call this procedure to save the stored image to a stream object passed as the AStream parameter. The SaveToStream procedure calls the SaveToStreamByCodec procedure internally, passing the AStream stream object and the PNG image codec as parameters.

See Also