Get sheet empty status
bool is_sheet_empty( Layer & ly )
false, Layer is not empty
true, Layer is empty.
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.") }
origin.h