WPCubed Product Support

LoadFromString is unable to load the text with image

support

Strings are Unicode which makes them a bad choice for binary data.

Please use a Byte[] Array and LoadFromVar. Or use LoadFromStream.

#2 ♥ 0
5.8k Views 2 users read 1 min

Hi,
I am using LoadFromString method to load file, if the file consists of any image data. If the file is only plain text this method is working fine.
But not working if the file consists any image.
I am using this stmt Memo.LoadFromString(plainStr, false, "AUTO");

please help
Thanks

#1 ♥ 0