Example: IN_GetNumberLayers

 

SHORT nLayerCount;

 

/* Get the number of layers on the current page in document window 3 */

if ( ( nError = IN_GetNumberLayers( 3, 0, &nLayerCount ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }