TallComponents PDFRasterizer.NET

TallComponents PDFRasterizer.NET
TallComponents PDFRasterizer.NET | 10 Mb

Convert PDF documents to raster images, print PDF documents unattended and display PDF documents in your Windows application. PDFRasterizer.NET is deployed as a single assembly, it is written entirely in C# and has no external dependencies.


Convert a PDF to BMP

 1 static void Main(string[] args)
 2 {
 3     //open the input pdf and select the first page
 4     Document pdfDocument = new Document(new FileStream("input.pdf", FileMode.Open, FileAccess.Read));
 5     Page pdfPage = pdfDocument.Pages[0];
 7     //create a bitmap to draw to and a graphics object
 8     using (Bitmap bitmap = new Bitmap((int)pdfPage.Width, (int)pdfPage.Height))
 9     using (Graphics graphics = Graphics.FromImage(bitmap))
10     {
11         //draw the image from the first page to the graphics object, which is connected to the bitmap object
12         pdfPage.Draw(graphics);
13         bitmap.Save("out.png");
14     }
16     //open the bitmap in the standard application
17     System.Diagnostics.Process.Start("out.png");
18 }

Feature highlights
Render to GDI+ or WPF
Print unattended
Convert to multipage TIFF
Convert to XPS
Written in C# – no unsafe code
Single assembly – no dependencies

What’s new in 3.0?
Only medium trust required (was full trust in 2.1).
No unsafe code
Async and progressive drawing.
Convert to color TIFF.
Convert to XPS and WPF graphics
LiveCycle Designer support (static only)
Render layers

Convert, bitmap, documents, graphics, PDFRasterizer, pdfPage, unattended, assembly, dependencies, Document, first, pdfDocument, Bitmap, unsafe, trust, Render, Graphics, using, input, TallComponents, Convert, bitmap, documents, graphics, pdfPage, PDFRasterizer, assembly, dependencies, unattended, Document, pdfDocument, unsafe, using, TallComponents, Graphics, trust, Bitmap, first, object, input



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s