Example: IN_NewPage

 

IN_PAGE lNewPageID;

 

/* Add a new page to the active document window after the first page. Give it the same parent as the first page and make it a page that can contain layers. */

if ( ( nError = IN_NewPage( 0, 1, IN_NEWPAGE_AFTER, 0, 0, &lNewPageID ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }