auto_AddPage

auto_AddPage adds a new page to the document.

auto_AddPage()

Comment

This function should be called before auto_LoadTemplate. In this case, the new page will be added to the active document.

Example

auto_AddToUI("Test", "Test", "RS_Test_1");

def RS_Test_1()
{
    auto_LoadTemplate("tpl_ger");

    // Call other auto_ - functions here

    auto_UpdatePage();

    auto_AddPage();
    auto_LoadTemplate("tpl_ger");

    // Call other auto_ - functions here

    auto_UpdatePage();
}

id-1084986