Creates a new subobject in the specified list. Parameters are the list handle, the insertion position, the desired type and a handle pointer for the new object. In order to insert a new text object at the beginning of the object list, use
HLLDOMOBJ hObj;
INT nRet = LlDomCreateSubobject(hObjList, 0, _T("Text"), &hObj);
You can create the following objects within the object list with the help of these functions, for example:
|
Object type |
Required third parameter |
|
Line |
"Line" |
|
Rectangle |
"Rectangle" |
|
Ellipse |
"Ellipse" |
|
Drawing |
"Drawing" |
|
Text |
"Text" |
|
Template |
"Template" |
|
Barcode |
"Barcode" |
|
RTF |
"RTFText" |
|
HTML |
"LLX:LLHTMLObject" |
|
Report container (may contain tables, charts and crosstabs) |
"ReportContainer" |
|
Gauge |
"Gauge" |
|
|
"PDF" |
Further possible values for other lists (e.g. field list within a table) can be found in the DOM Viewer's online help.