GetContext
HRESULT GetContext(result: [out, retval] I_DOCBUILDER_CONTEXT**)
Description
Returns the current JS context.
Please note, that for the
.docbuilder
file theCDocBuilder.GetContext
method is not used.
Parameters
- result
I_DOCBUILDER_CONTEXT**
- The returned JS context.
Example
COM
CoInitialize(NULL);
IONLYOFFICEDocBuilder* oBuilder = NULL;
IONLYOFFICEDocBuilderContext* oContext = NULL;
oBuilder->GetContext(&oContext);
oBuilder->Dispose();