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: 9.0.0.0-142fa9725
Syntax
C#
public DocumentItem GetNewDocument(
	string docId
)

Parameters

docId  String
The unique identifier to use for the document. Populated into the DocID* field.

Return Value

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