FFWinPlugin.CreateNewDocument2

SharePoint 2010

Last modified: October 13, 2010

Applies to: SharePoint Foundation 2010

Creates a document based on the specified document template and window object.


expression.CreateNewDocument2(pdisp, bstrTemplateLocation, bstrDefaultSaveLocation)

expression

An expression that returns an FFWinPlugin object.

pdisp

An Object that represents the window from which the CreateNewDocument2 method is being activated.

bstrTemplateLocation

A string that contains the URL of the document template from which the document is created, or the programmatic identifier (ProgID) of the application to invoke when creating the document.

bstrDefaultSaveLocation

A string that contains the path that specifies a suggested default location for saving the new document.

true if the document is created; otherwise, false.

Show: