def Call(self, name, *args);

Calls the specified Document Builder method. See the Text document API, Spreadsheet API, Presentation API or Form API sections for more information which methods are available for various document types.

Please note, that for the .docbuilder file the CDocBuilderValue.Call method is not used explicitly. The method itself is used instead. See the example below.


Name Type Description
name str The name of the Document Builder method.
*args CBuilderValue The parameters that the Document Builder method takes as argumens.



builder = docbuilder.CDocBuilder()
context = builder.GetContext()
globalObj = context.GetGlobal()
api = globalObj["Api"]
document = api.Call("GetDocument")


var oDocument = Api.GetDocument();