procedure LoadFromStream(AStream: TStream);

 

Description

Loads the attachment content from a stream specified in the AStream parameter.

When the PathName property is set, the data from the stream is copied to the file specified in the PathName property. Otherwise, the data is loaded to a TMemoryStream object that stores the attachment content.

 

See Also

LoadFromFile

PathName

SaveToFile

SaveToStream

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support