2.2.4.17.30 GraphLayer::RemoveAllPlots

Description

Removes all dataplots from layer.

Syntax

BOOL RemoveAllPlots( DWORD dwCntrl = 0 )

Parameters

dwCntrl
[input]
enum
{
	RAP_NO_OC_MODIFY_MSG			= 0x00001000,
	RAP_NO_STYLE_HOLDER_UPDATE		= 0x00100000,
};

bit values are additive


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