scripting:api:file-handler:create

Create

Method of IFileHandler

Called when new file to be created

  • BSTR strDocumentType = "" (optional)
  • VARIANT vContent (optional)
var ppDocument = FileHandler.Create(strDocumentType, vContent);
ppDocument = FileHandler.Create strDocumentType, vContent
CComPtr<IExternalDocument> pDocument;
HRESULT hr = FileHandler.Create(strDocumentType, vContent, &pDocument);