PDFTron logo

PDFNet SDK - What's New?

April 12, 2010 - Version 5.0.1

  • New PDFNet Conversion Add-On, enabling the following functionality:
    • Dynamic PDF generation from XAML and WPF reflow-able content. Developers can now export fixed and flow documents or convert XAML to PDF/XPS/SVG in a snap.
    • The new sample, Xaml2PDFTest, shows how to convert XAML, FixedDocument’s, FlowDocument's, and other WPF constructs (e.g. Canvas, RichTextBox, Section, etc.) into PDF documents with control over headers and footers, and main body placement.
    • Convert any printable document to PDF, XPS, or SVG using ‘pdftron.PDF.Convert’ API. This universal document conversion API is based on the XPS print path, enabling superior conversion output on Windows 7 and Vista, compared to any GDI/PostScript driver. The universal conversion API is very easy to use and applications using this functionality will not need to separately distribute, install, or register any addition files.
    • Direct conversion from PDF to XPS: High-quality conversion that maintains the original document quality and preserves text, hyperlinks, colors and fonts. Among many possible use-cases developers could use ‘pdftron.PDF.ToXps()’ to add XPS support in any application or workflow that supports PDF, or to efficiently print PDF files by taking advantage of the new XPS Print API available in Windows 7 (or Vista).
    • Direct conversion from XPS to PDF: High-quality conversion that maintains the original document quality and preserves text, hyperlinks, colors and fonts. Among many possible use-cases developers could use ‘pdftron.PDF.FromXps()' to quickly add a PDF export option in their .NET or WPF applications.
    • Direct conversion from EMF to PDF and from PDF to EMF.
    • Direct conversion from PDF to SVG.
    • The new sample, ConvertTest, shows how to convert any printable document to PDF or XPS as well as illustrates direct conversion between PDF and XPS.

  • New Features and Improvements to PDFNet Core API:
    • New Print API based on XPS print path (as a starting point please take a look at the updated PDFPrint sample project).
    • TextSearch utility class for quick text searches through a document using a regular expression or a litteral string. For a sample use case please take a look at TextSearch sample project.
    • Direct support for overprinting in the CMYK rasterizer. Overprint is simulated in RGB rasterizer and PDF viewer.
    • Direct support for TTC (True-Type Collections) during font creation and embedding.
    • Support for cross-platform color management using LittleCMS. On Windows, developers can choose between built-in color management, ICM2, or LittleCMS.
    • Windows developers can use standard GDI or GDI+ API-s to write on PDFDC (PDF Device Context) and to generate PDF documents based on their existing drawing functions. PDFDC and PDFDCEX provide a GDI Device Context handle which can be passed to all GDI functions the require an HDC. PDFDC does not use a "Virtual Printer" approach so there is no need to install any printer driver and the translation should be of both high quality and speed. Developers wishing to implement ‘print-to’ PDF in their existing applications without need for a separate virtual printer driver can use PDFDCEX, which add support for multi-page PDF output. A sample use of PDFDC and PDFDCEX can be found in the PDFDC sample project.
    • ElementWriter now allows developers to directly replace content of an existing page, further simplifying the PDF editing process. For a concrete example, please refer to the ElementEdit sample project.
    • PDFDraw.Export() can now convert PDF to high quality palletized TIFF or PNG output (tif8 or png8) and accepts a new hint parameter “Dither” for monochrome or indexed image output.
    • PDFViewCtrl is greatly extended and improved. The PDF viewing control comes with a set of built-in tools allowing developers to navigate, markup, annotate, and fill-in PDF forms out-of-the box. With the new version, it is also very simple to customize existing tools by overriding certain events or to implement custom tools from scratch. The viewer also comes with built-in thumbnail, bookmark, and layer panels which can be easily customized or replaced with custom versions.
    • Developers can choose between memory consumption and disk caching during PDF creation or editing. To prevent creation of any temporary files use PDFNet.SetDefaultDiskCachingEnabled(false).
    • Support for XFDF import and export in ‘pdftron.FDF.FDFDoc’.
    • Option to embed standard (base 14) PDF fonts.
    • Improved rendering for Coons and Tensor product shading.
    • Numerous improvements related to support of corrupt or invalid PDF files.
    • The new sample, Pdf2Html, shows how to convert PDF to HTML. The sample shows a bit more involved API usage where 'pdftron.PDF.PDFDraw' is used to render the background image and 'pdftron.PDF.TextExtractor' is used to generate HTML text layer.
  • Improved PDFNet PDF/A Validation and Conversion Add-on.

New Types and Methods in PDFNet Core API:

  • Action.CreateSubmitForm()
  • Action.CreateLaunch()
  • Action.CreateHideField()
  • Action.CreateImportData()
  • Action.CreateResetForm()
  • Action.CreateJavaScript()
  • Action.Execute()
  • Action.GetNext()
  • Action.GetFormActionFlag()
  • Action.SetFormActionFlag()
  • ColorSpace.CreateICC()
  • Date.SetCurrentTime()
  • FDFDoc.CreateFromXFDF()
  • FDFDoc.SaveAsXFDF()
  • FileSpec.SetDesc()
  • Element.GetSoftMaskTransform()
  • ElementBuilder.Ellipse()
  • Page.GetBoundingBox()
  • class PDFDC
  • class PDFDCEX
  • PDFDoc.GetFileName()
  • PDFNet.SetColorManagement()
  • PDFNet.SetDefaultDiskCachingEnabled()
  • enum PDFViewCtrl.PagePresentationMode. e_facing_cover
  • enum PDFViewCtrl.PagePresentationMode. e_facing_continuous_cover
  • PDFViewCtrl.ShowNavPanel ()
  • PDFViewCtrl.ShowToolbar ()
  • PDFViewCtrl.ShowNavToolbar ()
  • PDFViewCtrl.ShowMenuBar ()
  • PDFViewCtrl.ShowStatusBar()
  • PDFViewCtrl.EnableScrollbar ()
  • PDFViewCtrl.GetSplitPosition
  • PDFViewCtrl.SetSplitPosition()
  • PDFViewCtrl.SetPageSpacing()
  • PDFViewCtrl.SetFocus()
  • PDFViewCtrl.CloseDoc()
  • PDFViewCtrl.SetActionHandler()
  • PDFViewCtrl.SetCustomEventHandlers()
  • PDFViewCtrl.HasCapture()
  • PDFViewCtrl.ExecuteAction()
  • PDFViewCtrl.OnAction()
  • PDFViewCtrl.GetDefaultAnnotation()
  • PDFViewCtrl.LoadCurrentConfiguration()
  • PDFViewCtrl.SaveCurrentConfiguration()
  • PDFViewCtrl.EnableLinkActivation()
  • PDFViewCtrl.DocProperties()
  • PDFViewCtrl.DeletePages()
  • PDFViewCtrl.InsertPages()
  • PDFViewCtrl.InsertBlankPages()
  • PDFViewCtrl.ReplacePages()
  • PDFViewCtrl.RotatePages()
  • PDFViewCtrl.ExtractPages()
  • PDFViewCtrl.CropPages()
  • class TextSearch
  • class Highlights
  • SDFDoc.EnableDiskCaching()
  • SDFDoc.GetFileName()
  • SDF.Obj.SetStreamData()

New Types and Methods in PDFNet Convert Add-On:

  • Convert.FromXps()
  • Convert.FromEmf()
  • Convert.ToEmf()
  • Convert.ToSvg()
  • Convert.ToXps()
  • Convert. ToPdf(filename)
  • Convert.RequiresPrinter()
  • Convert.Printer.Install()
  • Convert. Printer.Uninstall()
  • Convert. Printer.GetPrinterName()
  • Convert. Printer.IsInstalled()

Deprecated:

  • PDFViewCtrl.GetSelection.GetRects() has been replaced by GetQuads().


March 27, 2009 - Version 4.5.0
April 11, 2008 – Version 4.0.3
February 7, 2008 – Version 4.0
February 20, 2007 – Version 3.6
August 11, 2006 - Version 3.5
June 1, 2006 - Version 3.2
February 1, 2006 - Version 3.1
November 22, 2005 - Version 3.0
July 21, 2005
May 20, 2005
April 8, 2005
December 22, 2004
September 24, 2004
September 13, 2004
September 7, 2004
August 24, 2004