Ian Branch 134 Posted May 5, 2023 Hi Team, I am ostensibly sending a PDF file to a TMemoryStream. How do I test if the TMemoryStream has been 'loaded'? Regards & TIA, Ian  Share this post Link to post
SwiftExpat 65 Posted May 6, 2023 TMemoryStream has a size property which is size in bytes, just check to see that it is greater than zero or some minimum size that you find acceptable. Â Share this post Link to post
Ian Branch 134 Posted May 6, 2023 Ahhh. Yes. m.size. Shoulda thought of that. Tks.  Ian Share this post Link to post