CreateUndefined
Creates an undefined value. This method returns the current context and calls its CreateUndefined method.
Please note, that for the
.docbuilderfile theCDocBuilderValue.CreateUndefinedmethod is not used.
Syntax
static CDocBuilderValue^ CreateUndefined();
Example
.Net
string workDirectory = "C:/Program Files/ONLYOFFICE/documentBuilder";
CDocBuilder.Initialize(workDirectory);
CDocBuilder oBuilder = new CDocBuilder();
CContext oContext = oBuilder.GetContext();
CValue oGlobal = oContext.GetGlobal();
CValue oApi = oGlobal["Api"];
CValue oUndefined = oApi.CreateUndefined();
CDocBuilder.Destroy();