Skip to main content

GetGlobal

Returns the global object for the current context.

note

For the .docbuilder file the CDocBuilderContext.GetGlobal method is not used.

Syntax

def GetGlobal(self) -> CDocBuilderValue

Parameters

COM only

NameTypeDescription
resultI_DOCBUILDER_VALUE**The returned global object

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()