Load

Method of IFileHandler

Called when file to be loaded

  • BSTR strFileName
  • BSTR strDocumentType = "" (optional)

Return Value

JavaScript

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);