add

Description

This function adds an element to the scene, and returns the element id of the newly added element if successful, otherwise it returns -1

Syntax

element.add(“name”, scanType, fieldChart, fileFormat, Vectorize);

Arguments

“name”, scanType, fieldChart, fileFormat, Vectorize

name: Any string for the name.
scanType: “Colour”, “Gray_Scale”, “BW” (for black and white) or “None”.
fieldChart: 12, 16 or 24.
fileFormat: “SCAN”, “OPT”, “PAL”, “SGI”, “TGA”, “YUV”, “OMF” or “PSD”.
Vectorize: “TVG” or “None”.

Related Topics 

Element