LlDomCreateSubobject

Syntax:

INT LlDomCreateSubobject(HLLDOMOBJ hDOMObj, INT nPosition,LPCTSTR pszType, PHLLDOMOBJ phDOMSubObj);

Task:

Creates a new subobject within the specified DOM list. Detailed application examples can be found in chapter DOM Functions.

Parameter:

hDomObj: DOM handle for the list

nPosition: Index (0-based) of the element to be inserted. All following elements are moved back one position.

pszType: Desired element type, e.g. "Text", for creating a new text object in the object list

phDOMSubObj: Pointer to DOM handle for return

Return value:

Error code

See also:

Chapter DOM Functions