Click or drag to resize

ScriptContextGetNewDocument Method

Gets a new document that can be added to the project.

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

Parameters

docId
Type: SystemString
The unique identifier to use for the document. Populated into the DocID* field.

Return Value

Type: DocumentItem
A new document instance from this context.

Implements

IScriptContextGetNewDocument(String)
Remarks
You need to call CreateDocument(DocumentItem) to add the document into the project.
See Also