support note window in CollectionEmbeddedPages


Version: 2022b

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-24879


Example:

1.New a project, right click on sheet name and select “Add Note as Sheet“.

2.Compile and run following code:

void testEmbed1()
{
    Worksheet wks = Project.ActiveLayer();
    
    CollectionEmbeddedPages embeddedPages(wks);
    int nCount1 = embeddedPages.Count();
    printf("%d pages embdded in a worksheet 1st\n", nCount1);
    
    int nCount2 = wks.EmbeddedPages.Count();
    printf("%d pages embdded in a worksheet 2nd\n", nCount2);
}