Save image to Memo as is

static void SaveImageToMemoAsIs(Args _args) { DocuValue docuValue; BinData binData = new BinData(); Image image = new Image(); ; select firstOnly docuValue where docuValue.Name == '085000001868_1'; binData.setData(docuValue.File); image.appendData(binData); info(image.base64Encode()); }
base64Encode() or ascii85Encode()

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.