GetNumberofPens

long GetNumberofPens();

 

Available (from release):

 

stOCX (V2-0), stPro Automation (V2-01)

 

Return Value:

 

The count of pens currently defined for the graph.

 

Remarks:

 

Returns the count of pens configured for the graph.

 

Note:  The count includes all pens regardless of whether they have been added via the API AddPen or interactively through the GUI.