Count
Returns the count of all the objects in the collection.
int Count( )
returns the number of pages embedded in the Worksheet
EX1
void CollectionEmbeddedPages_Count_Ex1() { Worksheet wks = Project.ActiveLayer(); if(!wks) return; CollectionEmbeddedPages embeddedPages(wks); int nCount = embeddedPages.Count(); printf("%d pages embdded in a worksheet", nCount); }
origin.h