GetContext
CDocBuilderContext GetContext()
Description
Returns the current JS context.
Please note, that for the
.docbuilder
file theCDocBuilder.GetContext
method is not used.
Example
C++
std::wstring sWorkDirectory = NSUtils::GetBuilderDirectory();
CDocBuilder::Initialize(sWorkDirectory.c_str());
CDocBuilder oBuilder;
CDocBuilderContext oContext = oBuilder.GetContext();
CDocBuilder::Dispose();