Syntax:
INT LlPrintGetChartObjectCount(HLLJOB hJob, UINT nType);
Task:
Returns the number of chart objects in the current project.
Parameter:
hJob: List & Label job handle
nType: Location of chart
Return Value:
Error code or number of charts
Hints:
nType must be one of the following:
LL_GETCHARTOBJECTCOUNT_CHARTOBJECTS: Returns the number of chart objects, excluding those placed in table columns.
LL_GETCHARTOBJECTCOUNT_CHARTOBJECTS_BEFORE_TABLE: Returns the number of chart objects before the table in the print order.
LL_GETCHARTOBJECTCOUNT_CHARTCOLUMNS: Returns the number of chart columns.
This function can be used to optimize the printing loop. More hints can be found in the chart chapter of this manual.
See also:
LlPrint