Some test text!
See v8 migration guide for information on the breaking changes.
Technically not a breaking change, but there are new namespaces on the
instance object for
UI. You can find more details and examples inside the migration guide .
FormFieldCreationManageras well as several new tools to allow users to create form fields. Note that these new tools are used in the UI's new forms toolbar.
pptfiles completely on the client side
fullAPI: trueneeds to be enabled.
Corenamespace which replaces the
CoreControlsnamespace and now contains all the other namespaces (e.g. Annotations, Tools, etc). Note that the previous namespace structure is still usable but deprecated. See the migration guide for more details
doc.applyTemplateValues, as well as a sample that demonstrates how to use them
PDFNetused to version 9.0. All PDFTron SDK 9.0 APIs are available with the full API.
disableXYZ. The previous APIs are still available for backwards compatibility.
fieldManager.areRequiredFieldsFilledAPI that returns true if all required fields in the current document have a value
fieldManager.getFieldsAPI which returns an array of all fields in the document, including nested fields
WidgetEditingManageras it has been replaced by the
annotationManager.jumpToAnnotationAPI to take optional options
annotationManager.getDisplayAuthorAPI to take an author string instead of an annotation object
document.updateRasterizerOptionsAPI which allows a number of document rasterizer options to be applied when rendering pages.
freetextAnnotation.setAutoSizeTypeAPI which lets the type of autosizing being used be changed programmatically
useStampAPI on the
RubberStampCreateTool. When called on an instance of this tool it will immediately create a stamp with the provided properties that can be added to the page.
setCustomDatafunction to only take in strings, and the
getCustomDatafunction to only return strings. The
CustomDataproperty has been removed. This is for compatibility with other platforms and more information can be found in the migration guide
documentViewer.setDefaultPageColorAPI which sets the background color for pages
NoZoomrendering to be consistent. Now all annotations will properly render with the
NoZoomproperty set to true.
documentFileNameproperty in embedded JS
refreshAppearancesAPI on field objects which will refresh the appearance of each widget associated with that field
deselectAllAnnotationsis called, now the
annotationSelectedevent will return an array of the previously selected annotations, not null
DocumentViewerdirectly inside an Angular project wouldn't fire iframe loading events properly because of how Angular changes the event handling
documentViewer.setViewportRenderModeAPI wasn't working properly
UInamespace on the WebViewer instance object. This namespace includes all UI APIs and constants.
removeEventListenerAPIs on the
UInamespace to more easily listen to events fired by the UI.
instance.UI.enable/disableDesktopOnlyModeAPIs which prevents the UI from making adjustments to the UI on smaller screens
instance.UI.disableFadePageNavigationComponentAPI is available if you would like to disable this behavior.
instance.UI.disablePageDeletionConfirmationModalto disable the delete page modal that appears when deleting pages from the thumbnail panel
*character as a wildcard for matching allowed origins.
instance.UI.enable/disableToolDefaultStyleUpdateFromAnnotationPopupwhich prevents the default tool styles from updating when annotation styles are changed
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.