scripting:api:file-handler:load

Load

Method of IFileHandler

Called when file to be loaded

  • BSTR strFileName
  • BSTR strDocumentType = "" (optional)
var ppDocument = FileHandler.Load(strFileName, strDocumentType);

==== Visual Basic Script ====

ppDocument = FileHandler.Load strFileName, strDocumentType

==== C++ ====

CComPtr<IExternalDocument> pDocument;
HRESULT hr = FileHandler.Load(strFileName, strDocumentType, &pDocument);

===== See Also ===== IFileHandler