Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== btoa ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Creates a base-64 encoded ASCII string from a string of binary data. ===== Parameters ===== * [[scripting:api:data-type:VARIANT|VARIANT]] **Data** ==== Return Value ==== * [[scripting:api:data-type:BSTR|BSTR]] **pstrText** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pstrText = Application.btoa(Data); </code>==== Visual Basic Script ==== <code vb> pstrText = Application.btoa Data </code>==== C++ ==== <code cpp> BSTR pstrText; HRESULT hr = Application.btoa(Data, &pstrText); </code>===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~