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