PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Shapes

No results

How to downscale all images in a PDF
This code sample shows how to downscale images in a PDF file. Read this Tall Components code sample or search our code sample base.
How to downscale all images in a PDF
This code sample shows how to downscale images in a PDF file. Read this Tall Components code sample or search our code sample base.
Add Stamp to PDF
This code sample shows how to stamp a PDF in C#. You can stamp images and watermarks to your PDF for example.
How to reduce PDF file size
Adobe Acrobat has an option to save a document with a reduced size. This article shows how to reduce pdf file size with PDFKit.NET.
How do I create graphics with Icc based colors
This article explains how one creates graphics that use Icc based colors. Read this code sample or search our code sample base.
Draw interactively on a PDF page
This article allows users to interactively draw lines on PDF pages and save the resulting document. Read this or search our code sample base.
Resize PDF pages
This sample demonstrates how to change the size of pages in the PDF file. Read this code sample or search our code sample base.
Layout text with MultilineTextShape
This sample demonstrates how to format and layout text with MultilineTextShape. Read this code sample or search our code sample base.
Clip PDF page content in C#
This sample demonstrates how to mask out a rectangular area on a PDF page using a clip shape in C#. Read this or search our code sample base.
How to scale content of PDF
This code sample creates a copy of a PDF document but the content in the output PDF is scaled. Read this or search our code sample base.
Create rectangles with rounded corners
A Rectangle with rounded corners is not a standard shape. However it is easy to create these. Read this or search our code sample base.
Create layers in PDF and draw on each layer
This code sample shows how to create a document and adds two new layers. Read this code sample or search our code sample base.
Crop content on a PDF page
This code sample shows how to remove all content that is outside a crop rectangle. Read this code sample or search our code sample base.
Remove graphics from PDF
This code sample shows how to partly erase images from a PDF under an explicitly specified rectangle. Read or search our code sample base.
Vector graphics in PDF
This code sample shows how to draw different vector graphics such as line, ellipses and bezier curves. Read code sample or search our base.
Translate PDF page content
This code sample shows how to apply a single translation to all the content on a PDF page. Read or search our code sample base.
Determine the content bounding box
This article shows how to determine the content bounding of a page. Read this Tall Components code sample or search our code sample base.
Create / impose PDF 2-up
This code sample shows how to do 2-up imposition using the PageShape class. Read this code sample or search our code sample base.
Append multiple PDF documents
This code sample illustrates to loop through a given folder and append each PDF documents found into a new generated PDF document.
Add text field to PDF
This code sample illustrates how you can add TextFields to your PDF. Read this Tall Components code sample or search our code sample base.
Extract images from PDF
This code sample illustrates how to iterate through existing content in a PDF document and save each images found as a new Image file.
Add a Diagonal Watermark to PDF in C#
This code sample shows how to add a diagonal watermark to an existing PDF in C#. Read this code sample or search our code sample base.
Fit image to PDF page
This code sample shows how to stamp an image on a PDF page and have the image fit to the size of the page. Read this code sample.
Determine if a PDF only contains images
The following sample code determines whether a PDF document only contains images (and not other shapes such as text fragments).
Add footer to PDF
This code sample shows how to add a footer in a PDF document. Read this Tall Components code sample or search our code sample base.
How to mirror PDF pages and other shapes
In this code sample we will mirror the pages in an existing PDF document. Read this code sample or search our code sample base.
How to create a tiling for shapes in PDF
In this code sample we will show you how you can create a rectangle and fill it using a TilingBrush containing dots.
Add a rubber stamp annotation with a custom icon
This article shows how to create a customized rubber stamp annotation. Read this code sample or search our code sample base.
What is the resulting fontsize in PDF for rich text used in a SimpleXhtmlShape
TallPDF supports the SimpleXhtmlShape. This shape accepts PDF rich text as its Text attribute. Read or search our code sample base.
Download and convert image to PDF
This article shows how to download an image on a web page as a PDF document. Read this code sample or search our code sample base.
Add barcodes to PDF
This article demonstrates how to add barcodes to a PDF document. Read this code sample or search our code sample base.
Tagged PDF
This code sample helps create and consume tagged PDF documents. Read this code sample or search our code sample base.