NewFileEx
Method of IApplication
Description
Creates a new file of specific type and returns reference to it
Parameters
Return Value
- IBaseDocument ppDocument
Syntax
JavaScript
var ppDocument = Application.NewFileEx(strDocumentType, strPath, vContent);
Visual Basic Script
ppDocument = Application.NewFileEx strDocumentType, strPath, vContent
C++
CComPtr<IBaseDocument> pDocument; HRESULT hr = Application.NewFileEx(strDocumentType, strPath, vContent, &pDocument);