Close
Closes the current scope. This method will be called automatically when the descructor is executed.
Please note, that for the
.docbuilderfile theCDocBuilderContextScope.Closemethod is not used.
Syntax
HRESULT Close();
Example
COM
CoInitialize(NULL);
IONLYOFFICEDocBuilder* oBuilder = NULL;
IONLYOFFICEDocBuilderContext* oContext = NULL;
IONLYOFFICEDocBuilderContextScope* oScope = NULL;
oBuilder->Initialize();
oBuilder->GetContext(&oContext);
oContext->CreateScope(&oScope);
&oScope->Close();
oBuilder->Dispose();