2.1.14.3.14 is_sheet_empty


Description

Get sheet empty status

Syntax

bool is_sheet_empty( Layer & ly )

Parameters

ly
[input] Worksheet or Matrix sheet

Return

false, Layer is not empty

true, Layer is empty.

Examples

EX1

//Make sure the active layer is a worksheet or matrixlayer before run this code
void is_sheet_empty_Ex1()
{
	Datasheet dsh = Project.ActiveLayer();
	if(is_sheet_empty( dsh))
		out_str("Datasheet is Empty.")
}

Remark

See Also

Header to Include

origin.h

Reference