Monday, March 7, 2016

Bind XML File for Conversion to PDF & Add Drawing with Transparent Color using .NET

What's New in this Release?

We are pleased to announce the release of Aspose.Pdf for .NET 11.2.0. It contains new features of binding XML file for conversion to PDF format, accessing individual XML elements during PDF transformation, creation of grouped check-boxes, creation of Rectangle with Alpha color channel, change of TOC page numbering and placing a drawing object inside PDF with transparent color. The BindXML(..) method offers the feature to load XML file contents and Document.save() method can be used to save the output in PDF format. However during conversion, we can also access individual elements inside XML and use XML as template. The Document class provides a collection named Form which helps you manage form fields in a PDF document. The RadioButtonField provides the feature to add RadioButtons field to PDF document and in order to represent checkboxes, users may consider setting border style for it. Once the the object is created, you need to add it’s instances to RadioButtonField object and in order to set border style, you need to use Style property and set value from BoxStyle enumeration. Aspose.Pdf for .NET supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. It also offers the feature to fill rectangle object with a certain color. A rectangle object can also have Alpha color channel to give transparent appearance. While creating drawing objects such as Rectangle, Circle, Eclipse etc, it provide color information for border as well as fill color information. In order to have transparent fill impression, the *FromArgb(..)* method of Aspose.Pdf.Color object can be used. Please take a look over following code snippet which demonstrates the feature to fill rectangle object with transparent color. A PDF file contains Image, Text, Graph, attachment, Annotations objects and while creating TextFragment, you can set foreground, background color information as well as text formatting. Aspose.Pdf for .NET supports the feature to add text with Alpha color channel. As well as the enhancements and features discussed above, there have been specific improvements regarding Footnote rendering, TOC rendering, PDF to HTML, HTML to PDF conversion features. Among these fixes, the PCL to PDF, SVG to PDF, PDF to Excel, PDF to DOC, PDF to TIFF, XML to PDF, TIFF to PDF conversion, conversion of PDF to PDF/A compliant documents, text replacement, rendering PDF files to XPS format are also improved. The list of important new and improved features are given below
  • Access TextFragement and TextSegment elements from XML file
  • Support Grouped checkboxes
  • Implement handling of new field in form element 'button'.
  • Create Rectangle with alpha color channel support
  • Change TOC page numbering
  • To add drawing with transparent color
  • Footer Text overlapping with Footnote
  • Rectangles are not rendering on correct position
  • Image to PDF - Evaluation watermark appears when setting IsBlackWhite as True
  • LocalHyperlink doesn't jump back to a previous spot in page
  • Evaluation watermark when using attached license file
  • Table Horizontal alignment issue
  • Replacing text in numbered list with 3 or more items adds extra white-space
  • Annotation arrow head size changes in flatten PDF file
  • Adding javascript action to comboboxfield throws NullReferneceException
  • PDF to excel: cells are being merged
  • Footer image is not rendering in 11.1.0
  • License embedded as resource is not working with 11.1.0 but 11.0.0
  • Fast Web view issue
  • Incorrect text wrapping in the table
  • PDF to HTML results extra white lines in color background
  • HTML to PDF - Image do not appear in PDF file
  • Performance difference in Old generator and New generator
Other most recent bug fixes are also included in this release.

Overview: Aspose.Pdf for .NET

Aspose.Pdf is a .Net Pdf component for the creation and manipulation of Pdf documents without using Adobe Acrobat. Create PDF by API, XML templates & XSL-FO files. It supports form field creation, PDF compression options, table creation & manipulation, graph objects, extensive hyperlink functionality, extended security controls, custom font handling, add or remove bookmarks; TOC; attachments & annotations; import or export PDF form data and many more. Also convert HTML, XSL-FO and MS WORD to PDF.

No comments:

Post a Comment