<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

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