procedure LoadFromFile(const FileName: string);

 

Description

Loads the attachment content from a file specified in the FileName parameter.

When the PathName property is set, the data 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

LoadFromStream

PathName

SaveToFile

SaveToStream

 

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