Aspose.Newsletter: Convert Text file to PDF (txt2pdf)

aspose_seo

Well-known member
Joined
Jan 21, 2007
Messages
294
Programming Experience
1-3
Welcome to the April 2008 issue of the Aspose Newsletter! In this month’s newsletter, we will provide some introductory information about our spotlight product: Aspose.Tasks. We will also look at the new and exciting features offered in the recent releases of Aspose.Words, Aspose.Cells, Aspose.Words for Reporting Services, Aspose.Pdf.Kit, Aspose.Pdf and Aspose.BarCode. You will learn about the latest news from Aspose along with the monthly Tech-Tip, which demonstrates how you can convert text file to PDF?

Product Spotlight

Aspose.Tasks is a non-graphical .NET Project® management component that enables .NET applications to read and write Project® documents without utilizing Microsoft Project®. Similar to Aspose.Slides, Aspose.Tasks is in a league of its own. It is the first and only .NET component that provides the functionality to manage Project® documents. Aspose.Tasks is a very mature product that offers stability and flexibility. As with all of the Aspose file format components, Aspose.Tasks works well with both Win Form and Web Form applications. Take the time to download the free evaluation version today to see how Aspose.Tasks can work for you.

Aspose.Words for Java has matured

A matured Aspose.Words for Java version 2.4.1.0 has been released. This release includes a separate Aspose.Words jar built for JDK1.6. All external libraries are obfuscated into Aspose.Words jar and we have used our own javadoc generation tool that better fits Aspose.Words structure so the user can get help more easily. For more information about the enhancements presented in these releases you are requested to visit the official release page. The latest version of Aspose.Words for Java can be downloaded from here.

Aspose.Cells for Java 1.9.4.0 released

The latest version 1.9.4.0 of Aspose.Cells for Java has been released. This latest release includes support for adding rich text for shapes such as Arc, Oval, Rectangle, Comment, TextBox. In this version you can read all shapes from template and set array in SmartMarker. In addition to this all types of placement for shapes are supported. Also included in this release are many improvements and numerous bug fixes. The latest version can be downloaded from here. For more details, please visit its official release page.

New Documentation Module

We present an updated Documentation section that enables you to browse all Aspose product documentation from one place. While browsing documentation pages, you can always ask questions or make comments by clicking 'Got a question? We guarantee a prompt response to any inquiry!' link in the footer part of the page. Check out the 'bookmark' link in the bottom of documentation pages - it enables you to add bookmark to the current documentation page in your favorite book marking site. For more information please consult the release page.

Aspose.Words for Reporting Services 2.1.0.0 released

Aspose.Words for Reporting Services version 2.1.0.0 has been released. This latest release is based on the latest Aspose.Words for .NET version 5.0.2.0 and includes support for dynamic table/matrix columns, report columns and header/footer background images. The product documentation has also been updated. You will also find many improvements and numerous bug fixes in this release. For more information please consult the official release page. The latest version of Aspose.Words for Reporting Services can be downloaded from here.

CJK font in Form Field is supported by Aspose.Pdf.Kit for .NET

Aspose.Pdf.Kit for .NET 3.0.0.0 has been released. In this release, CJK font is supported in Form Field. We have also spent a lot of time on optimizing the performance and as a result it has improved significantly. Digital signature and attachment features have been made more powerful as well. Numerous other improvements and bug fixes have also been included in this release. For more information please visit the official release page. Please download this latest release from here.

Aspose.Pdf for Java 2.3.0.0 released

The latest version 2.3.0.0 of Aspose.Pdf for Java has been released. In this release, some important features such as Text, Table, Image and Graph have been greatly enhanced. Attachment and HeaderFooter have been rewritten to support more flexible control. The ability to create PDF via XML has been improved and an XML Schema Definition file has been formed. Also included in this release are numerous bug fixes and improvements. Please visit the official release page for more information. You can download the latest version of Aspose.Pdf for Java from here.

Aspose.BarCode for .NET 2.5.0.0 released

After about two months of development and bug fixing, we have released Aspose.BarCode for .NET version 2.5.0.0. In this release, we have addressed the performance issue for USPS barcode recognition. The recognition speed is much better (almost 10 times faster) as compared to the previous version. Numerous bug fixes and improvements have also been incorporated into this release. For more information please visit the release page. The latest version is available for download from here[/b].

Aspose.BarCode for Java supports OneCode barcode

Aspose.BarCode for Java version 1.3.0.0 has been released. With this release the support for USPS OneCode barcode images generation has been added. Numerous bug fixes and improvements have also been incorporated into this release. For more information please visit the release page. The latest version is available for download from here.

Technical Tip – Convert text file to PDF

We often get queries from customers who would like to convert their text files to PDF. We are often asked if we can quickly provide some code which can accomplish this task and save them the effort of going through the documentation. So for the benefit of everyone, we present here a simple example which can be used as it is to easily and efficiently convert a text file to PDF using Aspose.Pdf.

[VB.NET]

Dim tr As System.IO.TextReader = New StreamReader("test.txt")
'Instantiate Pdf pbject by calling its empty constructor
Dim pdf1 As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf()
'Create a new section in the Pdf object
Dim sec1 As Aspose.Pdf.Section = pdf1.Sections.Add()
'Create a new text paragraph and pass the text to its constructor as argument
Dim t2 As Aspose.Pdf.Text = New Aspose.Pdf.Text(tr.ReadToEnd())
sec1.Paragraphs.Add(t2)
pdf1.Save("test.Pdf")

Aspose Newsletter is now available in four different languages

Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
Aspose - The .NET and Java component publisher
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.9465l
 
Back
Top