2.1.14.1.8 graphlayer_reset


Description

Clear the data in the Graphlayer and Reset the Graphlayer.

Syntax

bool graphlayer_reset( GraphLayer & gl )

Parameters

gl
[input] the GrapLayer to be reset.

Return

Returns True if success; and false on failure.

Examples

Ex1

//For this example to run, make the graph layer active in the project
void graphlayer_reset()
{
	GraphLayer gl = Project.ActiveLayer(); 
	if(graphlayer_reset( gl ))
		printf("Reset success!");	
}

Remark

See Also

Header to Include

origin.h

Reference