TallComponents PDFRasterizer.NET 3.0.147.0 » Developer.Team

TallComponents PDFRasterizer.NET 3.0.147.0

TallComponents PDFRasterizer.NET 3.0.147.0
TallComponents PDFRasterizer.NET 3.0.147.0 | 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];
 6 
 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     }
15 
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

[/b]

[b] Only for V.I.P
Warning! You are not allowed to view this text.
SiteLock