The StyleHolder class provides methods and properties common to all data plot style holders. An internal Origin data plot style holder is an object used to store plot type information for a data plot contained in an Origin graph layer.
An Origin C StyleHolder is a wrapper object that is a reference to an internal Origin StyleHolder object. Origin C wrapper objects do not actually exist in Origin and merely refer to the internal Origin object. Consequently, multiple Origin C wrapper objects can refer to the same internal Origin object.
The StyleHolder class is derived from the GraphObject and OriginObject classes from which it inherits methods and properties.
GraphLayer gl = Project.ActiveLayer();
if(gl) // If layer is valid...
StyleHolder sh = gl.StyleHolders(0); // Get first style holder in layer
out_int("Plot type is ", sh.GetPlotId()); // Get plot id