Added Layers panel which lists and enables users to show/hide individual PDF layers (optional content).
Added openPanel() method to open a side panel.
Added closePanel() method to close the side panel.
Added resetChanges() method to reset the document to its original state, discarding all changes.
Added setPageRotation(pageIndex, rotation) method to enable users to rotate a specific page in the PDF. This method requires SupportApi. Valid values for are 0, 90, 180, and 270 degrees.
Added getPageRotation(pageIndex) method to get the rotation value for a specified page.
Resolved Issues
When an annotation is added in code and saved, its name changes.
The state of the Signature Tool is not cleared after recreating the DsPdfViewer component.
Console shows an error after calling viewer.newDocument().
Incorrect behavior if viewer.newDocument() is called immediately after opening a PDF.