Skip to main content

ToString

Converts the CDocBuilderValue object to a string.

Please note, that for the .docbuilder file the CDocBuilderValue.ToString method is not used.

Syntax

def ToString(self) -> str

Parameters

NameTypeDescription
resultBSTR*The returned string value.

Example

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