Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
There are a few breaking changes and other deprecated APIs when migrating to v10 from older versions.
Starting with WebViewer 10, WebViewer will no longer support IE11. If you still need IE11 while transitioning to a modern browser, then please download WebViewer version 8.12 or below.
Starting with WebViewer 10, the Apryse SDK version will be synchronized with the WebViewer version. This means that the Apryse SDK version will be the same as the WebViewer version. For example, WebViewer 10 will use Apryse SDK 10.
The Core
object is now the entrypoint for the Annotations
, PDFNet
, Actions
, utils
, and Tools
namespace.
Example:
If you are using a custom UI, these would be accessed via the window object: Example:
To access the annotationManager
and documentViewer
objects from the instance you must also use the Core
namespace. Note the name change as well for both:
So the following:
Should now be:
XfdfUtils
has been renamed XFDFUtils
in the Annotation
namespace. Example of new usage:
removeEventListener no longer allows removing an event listener globally. Instead, when calling this API you must specify the function that will be removed for the event listener. If a function is not passed, then you must specify a namespace with the event name. The namespace should match the one you used when adding the event listener. Examples:
Previously deprecated APIs that have been removed:
Document.loadCanvasAsync
has been removed, please use Document.loadCanvasDocument.loadThumbnailAsync
has been removed, please use Document.loadThumbnailDocument.setOfflineModeEnabled
has been removed, please use Document.enableOfflineMode and Document.disableOfflineModeDocument.documentCompletePromise
has been removed, please use Document.getDocumentCompletePromiseDocumentViewer.loadAsync
has been removed please use DocumentViewer.loadDocumentDocumentViewer.setEnableAutomaticLinking
has been removed, please use DocumentViewer.enableAutomaticLinking and DocumentViewer.disableAutomaticLinkingDoumentViewer.setLoadAnnotationsFromVisiblePages
has been removed, please use DocumentViewer.enableLoadingAnnotationsFromVisiblePages and DocumentViewer.disableLoadingAnnotationsFromVisiblePagesDocumentViewer.setOptions
has been removed, please use DocumentViewer.enableAnnotations and DocumentViewer.disableAnnotationsDocumentViewer.getZoom
has been removed, please use DocumentViewer.getZoomLevelDocumentViewer.setEnableStylusMode
has been removed, please use DocumentViewer.enableStylusMode and DocumentViewer.disableStylusModeDocumentViewer.getRightToLeftPages
has been removed, please use DocumentViewer.isRightToLeftPageRenderingEnabledDocumentViewer.setRightToLeftPages
has been removed, please use DocumentViewer.enableRightToLeftPageRendering and DocumentViewer.disableRightToLeftPageRenderingDocumentViewer.setViewportRenderMode
has been removed, please use DocumentViewer.enableViewportRenderMode and DocumentViewer.disableViewportRenderModeDocumentViewer.enableGrayscaleAnnotations
has been removed, please use DocumentViewer.enableGrayscaleAnnotationsModeDocumentViewer.disableGrayscaleAnnotations
has been removed, please use DocumentViewer.disableGrayscaleAnnotationsModeBookmark.getHpos
has been removed, please use Bookmark.getHorizontalPositionBookmark.getVPos
has been removed, please use Bookmark.getVerticalPositionAnnotation.setRotationControlEnabled
has been replaced with Annotation.setRotationControlEnabled.enableRotationControl and Annotation.setRotationControlEnabled.disableRotationControlAnnotations.Forms.Field.setVisible
has been replaced with Annotations.Forms.Field.show and Annotations.Forms.Field.hideAnnotations.LineAnnotation.getCenterLeaderPoint
has been replaced with Core.Annotations.LineAnnotation.getLeaderLineControlHandlePointAnnotations.PopupAnnotation.setOpen
has been replaced with Annotations.PopupAnnotation.open and Annotations.PopupAnnotation.closeXfdfUtils.toXmlDate
has been replaced with XFDFUtils.toXmlDateXfdfUtils.serializePoint
has been replaced with XFDFUtils.serializePointXfdfUtils.deserializePoint
has been replaced with XFDFUtils.deserializePointXfdfUtils.serializePointArray
has been replaced with XFDFUtils.serializePointArrayXfdfUtils.deserializePointArray
has been replaced with XFDFUtils.deserializePointArrayXfdfUtils.serializeRect
has been replaced with XFDFUtils.serializeRectXfdfUtils.deserializeRect
has been replaced with XFDFUtils.deserializeRectXfdfUtils.serializeFringeRect
has been replaced with XFDFUtils.serializeFringeRectXfdfUtils.deserializeFringeRect
has been replaced with XFDFUtils.deserializeFringeRectXfdfUtils.serializeMeasure
has been replaced with XFDFUtils.serializeMeasureXfdfUtils.deserializeMeasure
has been replaced with XFDFUtils.deserializeMeasureXfdfUtils.parseDefaultAppearance
has been replaced with XFDFUtils.parseDefaultAppearanceAnnotationManager.getIsAdminUser
has been replaced with AnnotationManager.isUserAdminAnnotationManager.setIsAdminUser
has been replaced with AnnotationManager.promoteUserToAdmin and AnnotationManager.demoteUserFromAdminAnnotationManager.getReadOnly
has been replaced with AnnotationManager.isReadOnlyModeEnabledAnnotationManager.setReadOnly
has been replaced with AnnotationManager.enableReadOnlyMode and AnnotationManager.disableReadOnlyModeAnnotationManager.isFreeformRotationEnabled
has been replaced with AnnotationManager.getRotationOptionsAnnotationManager.setFreeformRotationEnabled
has been replaced with AnnotationManager.setRotationOptionsAnnotationManager.enableFreeformRotation
has been replaced with AnnotationManager.setRotationOptionsAnnotationManager.disableFreeformRotation
has been replaced with AnnotationManager.setRotationOptionsAnnotationManager.useFreeTextEditing
has been replaced with AnnotationManager.isFreeTextEditingEnabledAnnotationManager.setRedrawThrottle
has been replaced with AnnotationManager.setRedrawThrottleRateAnnotationManager.exportAnnotCommand
has been replaced with AnnotationManager.exportAnnotationCommandAnnotationManager.importAnnotCommand
has been replaced with AnnotationManager.importAnnotationCommandTools.AnnotationSelectTool.setEnableImmediateActionOnAnnotationSelection
has been replaced with AnnotationSelectTool.enableImmediateActionOnAnnotationSelection and AnnotationSelectTool.disableImmediateActionOnAnnotationSelectionTools.CalloutCreateTool.setEnableAutoSized
has been replaced with CalloutCreateTool.enableAutoSizedTextBox and CalloutCreateTool.disableAutoSizedTextBoxTools.DistanceMeasurementCreateTool.setEnableLeaderLines
has been replaced with DistanceMeasurementCreateTool.setLeaderLineDefaultOptionsTools.DistanceMeasurementCreateTool.enableLeaderLines
has been replaced with DistanceMeasurementCreateTool.setLeaderLineDefaultOptionsTools.DistanceMeasurementCreateTool.disableLeaderLines
has been replaced with DistanceMeasurementCreateTool.setLeaderLineDefaultOptionsTools.PolylineCreateTool.setAllowCreationOverAnnotation
has been replaced with PolylineCreateTool.enableCreationOverAnnotation and PolylineCreateTool.disableCreationOverAnnotationTools.RedactionCreateTool.setEnableTextAutoSize
has been replaced with RedactionCreateTool.enableAutoSizedText and RedactionCreateTool.disableAutoSizedTextTools.StickyCreateTool.setAllowCreationOverAnnotation
has been replaced with StickyCreateTool.enableCreationOverAnnotation and StickyCreateTool.disableCreationOverAnnotationTools.StickyCreateTool.setSaveViewState
has been replaced with StickyCreateTool.enableViewStateSaving and StickyCreateTool.disableViewStateSavingCore.office2PDFBuffer
has been replaced with Core.officeToPDFBufferCore.EventHandler.on
has been replaced with Core.EventHandler.addEventListenerCore.EventHandler.off
has been replaced with Core.EventHandler.removeEventListenerCore.EventHandler.one
has been replaced with Core.EventHandler.addEventListener with { once: true }
Core.setIsWindowsApp
has been replaced with Core.setAsWindowsApp and Core.unsetAsWindowsAppUI.setCustomModal
has been replaced with UI.addCustomModalfinishedSavingPDF
has been replaced with fileDownloadedUI.getIsHighContrastMode
has been replaced with UI.isHighContrastModeEnabledinstance.isMobileDevice
has been removedUI.setHighContrastMode
has been replaced with UI.enableHighContrastMode and UI.disableHighContrastModeUI.showErrorMessage
has been replaced with UI.displayErrorMessageUI.toggleElement
has been replaced with UI.toggleElementVisibilityUI.getSelectedThumbnailPageNumbers
has been replaced with UI.ThumbnailsPanel.getSelectedPageNumbersUI.selectThumbnailPages
has been replaced with UI.ThumbnailsPanel.selectPagesUI.unselectThumbnailPages
has been replaced with UI.ThumbnailsPanel.unselectPagesUI.updateOutlines
has been replaced with UI.reloadOutlineUI.useNativeScroll
has been replaced with UI.enableNativeScrolling and UI.disableNativeScrollingUI.setSortNotesBy
has been replaced with UI.setNotesPanelSortStrategyDid you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales