News & Releases
|
|

Spire.PDFViewer 4.5.1 supports moving from the current location to a new location along with scrolling to a designated location
We're pleased to announce the release of Spire.PDFViewer hotfix version 4.5.1. This version adds two new methods to support moving from the current location to a new location along with scrolling to a designated location, and fixes two issues occurred when loading and viewing PDF files. In addition, some alterations have been made in this version. View more details below.
New Features:
- Adds Move(float offsetX, float offsetY) method to move from the current location to a new location.
- Adds ScrollTo(float scrollLocationX, float scrollLocationY) method to scroll to a designated location.
Bug Fixes:
- Fixes the issue that the application threw the exception "StackOverflowException" when loading a pdf file.
- Fixes the issue that the content was garbled when viewing a pdf file.
Alteration:
- LoadFromHtml(string url, string convertPdfName) method may be removed in the future.
- Threshold property may be removed in the future.
- MultiPagesThreshold property may be removed in the future.
- VeryfyDocumentEncrypted(string filePath)method may be removed in the future,please use the method of IsEncryptedDocument()instead.
- SetViewerMode(PdfViewerMode.PdfViewerMode mode) method may be removed in the future,please use the property of PdfDocumentViewer.ViewerMode instead.
- SetPageLayoutMode(PageLayoutMode pageMode) method may be removed in the future,please use the property of PdfDocumentViewer.PageLayoutMode instead.
- ZoomTo(int percentage) method and SetZoom(ZoomMode mode) method may be removed in the future,please use the property of PdfDocumentViewer.ZoomFactor instead.
- PdfLoaded event may be removed in the future,please use DocumentOpened event instead.
- ZoomChanged event may be removed in the future,please use ZoomFactorChanged instead.
- ZoomFator property may be removed in the future,please use the property of PdfDocumentViewer.ZoomFactor instead.
- Initialize(PdfDocumentViewer view) method may be removed in the future,please use the property of ActiveView instead.
Click the link to get Spire.PDFViewer 4.5.1:
More information of Spire.PDFViewer new release or hotfix: