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. ====== Load ====== Method of [[:scripting:api:file-handler:start|IFileHandler]] ===== Description ===== Called when file to be loaded ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strFileName** * [[scripting:api:data-type:BSTR|BSTR]] **strDocumentType** = %%""%% (optional) ==== Return Value ==== * [[:scripting:api:external-document:start|IExternalDocument]] **ppDocument** ===== Syntax ===== ==== JavaScript ==== <code javascript> var ppDocument = FileHandler.Load(strFileName, strDocumentType); </code>==== Visual Basic Script ==== <code vb> ppDocument = FileHandler.Load strFileName, strDocumentType </code>==== C++ ==== <code cpp> CComPtr<IExternalDocument> pDocument; HRESULT hr = FileHandler.Load(strFileName, strDocumentType, &pDocument); </code>===== See Also ===== [[:scripting:api:file-handler:start|IFileHandler]] ~~NOTOC~~