Download Tallcomponents PDFRasterizer.NET v3.0.185.0

Tallcomponents PDFRasterizer.NET v3.0.185.0

Tallcomponents PDFRasterizer.NET v3.0.185.0
Tallcomponents PDFRasterizer.NET v3.0.185.0


PDFRasterizer.NET is a 100% .NET (verifiable) solution for printing PDF documents unattended and converting PDF documents to a raster image, WPF graphics or an XPS document.

What is new
Only medium or high trust required (was full trust in 2.1)
Progressive drawing
Cancellable drawing
Asynchronous drawing
Convert to (multi-page) color TIFF (was only Black&White in 2.1)
LZW compression for TIFF output
More advanced font substitution
Convert to XPS
Convert to WPF graphics
Extract embedded files (also known as attachments)
Layer support
Diagnostics

Restrictions
The following restrictions appy to PDFRasterizer.NET 3.0:

Due to GDI+ and XPS restrictions, only the most basic form of transparency is supported
Overprint and rendering intents are ignored
Function-based shadings (type 1) are not supported
Free-form Gouraud-shaded triangle meshes (type 4) are not supported
Lattice-form Gouraud-shaded triangle meshes (type 5) are not supported
Coons patch meshes (type 6) are not supported
Tensor-product patch meshes (type 7) are not supported
When printing, spool jobs may be very large due to conversion of glyphs to curves. This happens when there is no matching system font installed and no font substitution if configured. See also Text and Fonts

Features
Convert PDF to JPG, PNG, etc.
Convert pages to XPS
Print PDF unattended
Convert to multi-page TIFF
Single assembly - no dependencies
No unsafe code

Code samples
static void Main(string[] args)
{
   // open the input pdf and select the first page
   Document pdfDocument = new Document(new FileStream("input.pdf", FileMode.Open, FileAccess.Read));
   Page pdfPage = pdfDocument.Pages[0];

   // create a bitmap to draw to and a graphics object
   using (Bitmap bitmap = new Bitmap((int)pdfPage.Width, (int)pdfPage.Height))
   using (Graphics graphics = Graphics.FromImage(bitmap))
   {
      //draw the image from the first page to the graphics object, which is connected to the bitmap object
      pdfPage.Draw(graphics);
      bitmap.Save("out.png");
   }
}


Only for V.I.P
Warning! You are not allowed to view this text.
  • 8