CreateArray
def CreateArray(self, length: int)
Description
Creates an array value, an analogue of new Array (length)
in JS.
Please note, that for the
.docbuilder
file theCDocBuilderContext.CreateArray
method is not used.
Parameters
- length
int
- The array length.
Example
Python
builder = docbuilder.CDocBuilder()
context = builder.GetContext()
content = context.CreateArray(1)