Read-only
About Views

GetPlotNumberOfTraces Method

Description

Gets the number of traces in one plot.

VB Syntax

pltsView.GetPlotNumberOfTraces(plotIndex, numberOfTraces)

Variable

(Type) - Description

pltsView

(object) - A PLTSView object

plotIndex

(short) Index of the plot (zero based).

numberOfTraces

(short) Number of traces.

Return Type

Short

Default

None

Examples

Dim traceCnt As Short = 0

pltsView.GetPlotNumberOfTraces(1, traceCnt)

Console.WriteLine(traceCnt)

See an example program.

C++ Syntax

HRESULT GetPlotNumberOfTraces(SHORT plotIndex, SHORT* numberOfTraces);

Interface

IPLTSView