DocumentUltimate v3.0.5 is released

This release includes the following changes:

  • Added: New DocumentViewer.ClientRotationChange and DocumentViewer.SinglePageRotationEnabled properties.
    This new client-side event raised when page rotation is changed via rotate buttons on the toolbar.
    The other new property specifies whether rotate buttons should only rotate the currently viewed
    page rather than all pages.

    function documentViewerRotationChange(sender, e) { 
        //e.pageNumber (1-based)
        //e.rotation (0, 90, 180 or 270 degrees)
    
        if (e.pageNumber)
            alert("Page " + e.pageNumber + " is rotated " + e.rotation + " degrees");
        else
            alert("All pages are rotated " + e.rotation + " degrees");
    }
     
  • Fixed: When using a custom IDocumentHandler or IInputHandler, TIFF to PDF was broken when viewing or converting
    with this error: Object reference not set to an instance of an object.

  • Fixed: When viewing or converting image formats to PDF, the generated file was kept open (could not be deleted).

  • Fixed: When DocumentViewer.SidePaneVisible was set to false, toggle button was still visible so it could
    still open the left side pane.

  • Fixed: When rendering DocumentViewer in a MVC partial view called by AJAX, even when the HTML was cleared
    between repeated AJAX requests, DocumentViewer was still using the document and config from the first result.
    Made sure a global JS array is cleared after each DocumentViewer was rendered.

  • Fixed: When a license key was set and debugging in Visual Studio on Windows 10 Creators Update,
    the opened browser hanged on forever. The issue only happened on .NET 4.7 framework which came with
    Windows 10 Creators Update.

  • Improved: DocumentViewer.DocumentHandlerType property can now be set from ASP.NET markup
    as a Type string, not only from codebehind.

For the full version history of DocumentUltimate, please see here.