Convert XFA to Standard AcroForm and Add Layers to PDF in .NET Apps

Aspose's picture
Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Aspose .NET API for PDF now supports converting XFA forms to standard forms. It also enhance PDF to image conversion, saving PDF files in a particular PDF version, deleting images from PDF files and many more.

Lane Cove, NSW, Australia., June 20, 2014 - (PressReleasePoint) -

Aspose.Pdf for .NET is an award winning API. Over the years it helped developers with PDF document creation as well as manipulation. In every new release, the development team works really hard to introduce new features and fix issues to deliver a better version of the API. Keeping this tradition alive, Aspose have introduced some new features in Aspose.Pdf for .NET 9.3.0. Dynamic forms are based on an XML specification known as XFA, the “XML Forms Architecture”.
The information about the form (as far as PDF is concerned) is very vague – it specifies that fields exist, with properties, and JavaScript events, but does not specify any rendering. The contents of such forms are rendered during the PDF display process by respective viewer application. Due to this nature and structure of the forms, if Aspose directly try to convert it to image format, nothing is rendered. Therefore, the forms have to be converted to Standard AcroForms first and then to image.
Aspose.Pdf for .NET supports the feature to convert XFA forms to standard forms. In order to cater for this requirement, the values from an enumeration named FormType can be passed to the Document.Form.Type property. The Aspose.Pdf.Generator namespace makes it possible to create PDF files from scratch. During PDF creation, user might want to set document access privileges (restrictions). Similarly, the Aspose.Pdf.Facades namespace has offered the feature to set document access privileges to existing PDF documents for quite some time.
Recently, Aspose were asked to support a similar feature in the new Document Object Model of the Aspose.Pdf namespace, so that a single approach can be used to set access privileges when creating new documents or manipulating existing files. For further details, please visit the article in the documentation section about Set Privileges on an Existing PDF File.
Adding layers to a PDF is a unique concept. It can be very useful for cases where user want to distribute multi-lingual file and want text in each language to appear on different layers, with the background design appearing on a separate layer. Aspose.Pdf for .NET 9.3.0 supports adding layers to PDF documents. Hyperlinks are added as LinkAnnotation in PDF files. Aspose.Pdf for .NET supports the feature to add a hyperlink to a PDF file, update links, and extract links. It can also get the destination URL of a LinkAnnotation (hyperlink) in PDF documents. Aspose received a requirement for removing only the signature and keeping the signature field, so that the same field can be used to sign the document again and this feature is now available. 
Prior to the release of Aspose.Pdf for .NET 9.3.0, the API supported the feature to either save fonts as WOFF or TTF. Unfortunately this meant that fonts could not be loaded in Internet Explorer 6 through 8, so documents didn’t look right when viewed in these browsers. Also for mobile browsers, TTF fonts are required for maximum compatibility. So the solution was to generate 3 sets of fonts, to ensure maximum browser compatibility, and then reference all fonts in the CSS like as shown below.  As well as the new features above, this new version includes fixes related to PDF to image conversion, saving PDF files in a particular PDF version, deleting images from PDF files, performance improvements when generating PDF files and much more. 

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.

Press Contact:
Suite 163, 79 Longueville Road
Email partially hidden to block spam. Please use the contact form here.
Contact Aspose

Copy this html code to your website/blog to embed this press release.


Post new comment

2 + 0 =