Methods | ScriptContext.GetNewDocument Method
Gets a new document that can be added to the project.
Syntax
C# Copy
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
IScriptContext.GetNewDocument(String)
Remarks
You need to call CreateDocument(DocumentItem) to add the document into the project.
See Also
Reference
ScriptContext Class
Compiled.EDD.Scripting Namespace