Did you find this guide helpful?
Some test text!
Xamarin / Changelog / v6.8.0
Version: 6.8.0
Release Date: April 4, 2018
In this version, both binding projects for Xamarin.Android and Xamarin.iOS have significant changes. Please read the new tutorial on how to build the binding project for Xamarin.Android and Xamarin.iOS .
pdftron.PDF.Controls.FindTextOverlay and pdftron.PDF.Controls.SearchToolbar for easy text search pdftron.PDF.Tools.CustomRelativeLayout for easy UI views on top of PDFViewCtrl PDFNet.Initialize no longer accepts null or empty license keys. A valid demo or commercial license key is required at all times. Please request a trial license if you do not have one.PDFViewCtrl.DownloadTypes => PDFViewCtrl.DownloadStatePDFViewCtrl.PageChangeType => PDFViewCtrl.PageChangeStateToolManager.Mode => ToolManager.ToolMode.ValuePDFViewCtrl has been updated to match native platform conventionP0, P1 and so onPDFViewCtrl.RenderingStarted and PDFViewCtrl.RenderingFinished events is now EventArgsPDFViewCtrl.OnSetDoc => PDFViewCtrl.DocumentLoad and the second parameter is now EventArgsPDFViewCtrl.TextSearchEnded => PDFViewCtrl.TextSearchEnd and PDFViewCtrl.TextSearchEndedEventArgs => PDFViewCtrl.TextSearchEndEventArgsAnnotationToolbar.Shown => AnnotationToolbar.AnnotationToolbarShownAnnotationToolbar.Closed => AnnotationToolbar.AnnotationToolbarClosedToolManager.convToAnnot => TypeConvertHelper.ConvAnnotToManagedThumbnailSlider.SetPDFViewCtrl => ThumbnailSlider.SetPdfViewCtrlAnnotationToolbar.Setup now only takes in ToolManagerPDFViewCtrl.GetHandleInternal() is removed. Instead, PDFViewCtrl extends the native PDFViewCtrl and can be passed into native functions directlyToolManager.SetBuiltInPanModeToolbarEnable is removed. Instead, use the new SearchToolbar and FindTextOverlaypdftron.PDF.PDFViewCtrl now extends the native PTPDFViewCtrl class and fully support iOS 11 and iPhone Xpdftron.PDF.Controls.ThumbnailsViewController: a thumbnails grid view that allows rearrange and page deletion pdftron.PDF.Controls.ThumbnailSliderViewController: a bottom navigation bar with preview thumbnails pdftron.PDF.Controls.FindTextToolbar: a toolbar for text search pdftron.PDF.PTPrint class for easy printing, see sample project for detailsPDFViewCtrl, use flag e_postprocess_night_mode in PDFViewCtrl.SetColorPostProcessModePDFNet.Initialize no longer accepts null or empty license keys. A valid demo or commercial license key is required at all times. Please request a trial license if you do not have one.pdftron.PDF.PDFViewCtrl class has been moved under namespace pdftron.PDF, for example, pdftron.PDF.PDFViewCtrl.PagePresentationModes will now be pdftron.PDF.PagePresentationModes, values are unchangedPDFViewCtrl.Doc property now expects type PTPDFDoc, you can update the code as follows:pdftron.PDF.PDFDoc docToOpen;
...
mPdfViewCtrl.Doc = TypeConvertHelper.ConvPDFDocToNative(docToOpen);
docToOpen = TypeConvertHelper.ConvPDFDocToManaged(mPdfViewCtrl.Doc);ToolManager annotation change events now returns type PTAnnot, you can update the code as follows:pdftron.PDF.Annot annot = TypeConvertHelper.ConvAnnotToManaged(e.Annotation);ToolManager.AnnotationModificationEventArgs => pdftron.PDF.Tools.AnnotationModificationEventArgsPDViewCtrl.PageNumberChanged => PDFViewCtrl.PageNumberChangedFrom with args PageNumberChangedFromEventArgsPDViewCtrl.TextSearchEnded => PDFViewCtrl.TextSearchResult with args TextSearchResultEventArgsPDFViewCtrl.DocumentDownloaded => PDFViewCtrl.DownloadEventType with args DownloadEventTypeEventArgsPDFViewCtrl.SetColorPostProcessMode takes in pdftron.PDF.ColorPostProcessMode instead of PDFRasterizer.ColorPostProcessModeToolManager.ToolChanged => ToolManager.ToolManagerToolChangedAnnotationToolbar.SetToolManager => ToolManager propertyAnnotationToolbar.ToolShouldGoBackToPan =>mAnnotationToolbar.ToolShouldGoBackToPan = (annotationToolbar) =>
{
return false;
};PDFViewCtrl.HighlightSelection now takes in PTSelection which is obtained through TextSearchResultEventArgs.Selection, and PDFViewCtrl.Selection is no longer neededPDFViewCtrl.OpenURL => PDFViewCtrl.OpenUrlAsyncpdftronprivate.AnnotationViewControllerAnnotaionSelectedEventArgs => AnnotationViewControllerAnnotaionSelectedEventArgspdftronprivate.OutlineViewControllerBookmarkSelectedEventArgs => OutlineViewControllerOutlineSelectedEventArgspdftronprivate.BookmarkViewControllerBookmarkSelectedEventArgs => BookmarkViewControllerBookmarkSelectedEventArgsOnSetDoc used to have PDFDoc as the sender, but is now changed to PDFViewCtrl as the sender, OnSetDocEventArgs.Doc is the PDFDoc:mPdfViewCtrl.OnSetDoc += (sender, e) =>
{
PDFDoc doc = TypeConvertHelper.ConvPdfDocToManaged(e.Doc);
// do something with the doc
};AnnotationToolbar constructor now takes in ToolManager, use Auto Layout for size and positionToolManager.BackToPan() and ToolManager.BackToPanToolAfterUse are removed, use the following instead:mToolManager.ChangeTool(new Class(typeof(pdftron.PDF.Tools.PanTool)));BookmarkViewController.DocPath is no longer neededTrial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales