Click or drag to resize

IScriptContextGetNewDocument Method

Gets a new document reference with the supplied docid.

Namespace:  Compiled.EDD.Scripting
Assembly:  Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 7.6.1.3-5cb5c356
Syntax
C#
DocumentItem GetNewDocument(
	string docId
)

Parameters

docId
Type: SystemString
The document identifier to associate to the document.

Return Value

Type: DocumentItem
A new document item reference that can be created.
Remarks
The DocumentItem is not added until it is passed to CreateDocument(DocumentItem).
See Also