Skip to main content

CreateScope

Creates a context scope which sets the execution context for all operations executed within a local scope.

note

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

Syntax

def CreateScope(self) -> CDocBuilderContextScope

Parameters

COM only

NameTypeDescription
resultI_DOCBUILDER_CONTEXT_SCOPE**The returned context scope.

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
scope = context.CreateScope()