Skip to main content

CreateObject

Creates an empty object, an analogue of {} in JS.

note

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

Syntax

def CreateObject(self) -> CDocBuilderValue

Parameters

COM only

NameTypeDescription
resultI_DOCBUILDER_VALUE**The pointer to store the created empty object

Example

builder = docbuilder.CDocBuilder()
context = builder.GetContext()
content = context.CreateObject()