GetGlobal
CDocBuilderValue^ GetGlobal()
Description
Returns the global object for the current context.
Please note, that for the
.docbuilder
file theCDocBuilderContext.GetGlobal
method is not used.
Example
.Net
string workDirectory = "C:/Program Files/ONLYOFFICE/DocumentBuilder";
CDocBuilder.Initialize(workDirectory);
CDocBuilder oBuilder = new CDocBuilder();
CContext oContext = oBuilder.GetContext();
CValue oGlobal = oContext.GetGlobal();
CDocBuilder.Destroy();