IN_DOCWIN lNewDocwinID;
/* On the active page of the active document window, apply a 300 dpi resolution in both directions, and rotate the raster data 90 degrees counter-clockwise */
if ( ( nError = IN_ChangeRaster( 0, 0, 300, 300, IN_ROTATION_90, 0, 0, &lNewDocwinID ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}