2.2.4.17.30 GraphLayer::RemoveAllPlots

Description

Removes all dataplots from layer.

Syntax

BOOL RemoveAllPlots( DWORD dwCntrl = 0 )

Parameters

dwCntrl
[input] REMOVEPLOT_NO_OC_MODIFY_MSG, REMOVEPLOT_NO_STYLE_HOLDER_UPDATE;

Return

TRUE for success, otherwise FALSE

Examples

EX1

// the following code remove all data plots in the active layer
void GraphLayer_RemoveAllPlots_ex1()
{
    GraphLayer gl = Project.ActiveLayer();
    gl.RemoveAllPlots();
}

Remark

Remove all dataplots in layer including floating column bar

See Also

Header to Include

origin.h