BUILD PDFs ANYWHERE WITH ONE .NET LIBRARY
Create, edit, and render PDFs across every .NET platform with XFINIUM.PDF

XFINIUM.PDF Mobile

Cross-platform PDF development tool supports iOS, Android, and Windows Phone.
XFINIUM.PDF Mobile comes in 2 editions: Generator Edition which includes the PDF creation and editing features and Viewer Edition which includes all features in Generator Edition plus the PDF rendering and PDF viewing features.

Generator Edition

XFINIUM.PDF library features a wide range of capabilities, both for the beginner and the advanced PDF developer. Whether you need to create a simple report, fill a PDF form, build a PDF portfolio, redact sensitive information from PDF file or convert a PDF file to a multipage TIFF image.

The simple object model follows the PDF specification so you can have complete control over the generated PDF files. Code written for XFINIUM.PDF can be compiled on all supported platforms without changes.XFINIUM.PDF library is here to help.

XFINIUM.PDF has been developed entirely in C# and it is 100% managed code. It is licensed per developer with royalty free distribution so you can freely distribute your application without paying other fees.

Here is a sample code of "Hello World!":

bash
using Xfinium.Pdf;
using Xfinium.Pdf.Graphics;

// Create a fixed document
PdfFixedDocument document = new PdfFixedDocument();

// Add a new page
PdfPage page = document.Pages.Add();

// Create a font and a brush
PdfStandardFont helvetica = new PdfStandardFont(PdfStandardFontFace.Helvetica, 24);
PdfBrush brush = new PdfBrush();

// Draw the text on the page
page.Graphics.DrawString("Hello World", helvetica, brush, 100, 100);

// Save the document
document.Save("helloworld.pdf");

Generator Edition Features

XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Supported Platforms
.NET Framework 4.x Yes Yes
Windows Forms Yes Yes
Xamarin.Mac Yes Yes
ASP.NET Webforms and MVC Yes Yes
Console applications Yes Yes
Windows services Yes Yes
Mono Yes Yes
WPF 4.x Yes Yes
Xamarin.iOS Yes Yes
Xamarin.Android Yes Yes
Xamarin.Forms Yes Yes
Universal Windows Platform Yes Yes
.NET MAUI Yes Yes
.NET Core 2.x/3.x Yes Yes
.NET Standard 2.x Yes Yes
.NET 5 Yes Yes
.NET 6 Yes Yes
.NET 7 Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Document Features
Create and load PDF documents from files and streams Yes Yes
Grid layout and/or flow layout modes Yes Yes
Save PDF files in PDF/A-1B, PDF/A-2 B/U, PDF/A-3 B/U format Yes Yes
Save PDF files in PDF/UA-1 format Yes Yes
Save PDF files to disk and streams Yes Yes
PDF structure compression Yes Yes
Document information and custom properties Yes Yes
Document viewer preferences and display modes Yes Yes
Document and page XMP metadata Yes Yes
Document file attachments Yes Yes
Document level Javascripts and actions Yes Yes
Document outline (bookmarks) Yes Yes
Create CAD and geospatial enabled PDF files Yes Yes
Add, remove and read Bates numbers Yes Yes
Add and remove PDF pages Yes Yes
Page boxes - media box, crop box, art box, trim box and bleed box Yes Yes
Page labeling ranges (page numbering) Yes Yes
Page user units Yes Yes
Extract pages from external PDF files Yes Yes
Append PDF pages Yes Yes
Fast PDF merging Yes Yes
Split PDF files into pages Yes Yes
Document incremental updates Yes Yes
Partial document loading and saving Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Logical Structure & tagged pdf & accessibility
Logical document structure Yes Yes
Tagged PDF Yes Yes
Structure tree and structure elements Yes Yes
ID map Yes Yes
Role map Yes Yes
Structure element attributes Yes Yes
Attribute classes Yes Yes
PDF/UA-1 Yes Yes
Automatic tagging of flow documents Yes Yes
Extraction of page content with associated logical structure information Yes Yes
Add and remove PDF pages Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Flow Document Features
Mixed formatted text Yes Yes
Superscript/subscript text Yes Yes
Images Yes Yes
Form XObjects Yes Yes
Annotations Yes Yes
Tables Yes Yes
Header and footers Yes Yes
Table of contents Yes Yes
Automatic tagging for accessibility Yes Yes
Before/After draw events for flow content Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Security
User and owner passwords Yes Yes
Document access rights Yes Yes
40 bit and 128 bit RC4 encryption Yes Yes
128 bit and 256 bit AES encryption Yes Yes
Content redaction Yes Yes
Disable text copy/paste Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Digital Signatures
Approval and certifying digital signatures with X509 certificates Yes Yes
Basic CMS and PAdES digital signatures with SHA256 / SHA384 / SHA512 Yes Yes
Signature timestamps Yes Yes
OCSP and CRL information included in digital signatures Yes Yes
Document security store Yes Yes
Document timestamps Yes Yes
LTV (Long Term Validation) enabled digital signatures Yes Yes
Support for hardware signature tokens/smartcards (Windows, WPF, Mac) Yes Yes
Externally computed signatures Yes Yes
Custom digital signatures Yes Yes
Load digital signatures from signed PDF files Yes Yes
Decode existing signatures into ASN.1 objects Yes Yes
Extract the certificate from digital signatures Yes Yes
Save the signed copy of a PDF document Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Graphics Features
Grid layout for fixed content positioning Yes Yes
Flow layout for relative content positioning Yes Yes
All PDF color spaces: DeviceRGB, DeviceCMYK, DeviceGray, Indexed, CalGray, CalRGB, Lab, ICC, Separation, DeviceN and PANTONE colors Yes Yes
Pen and brush objects for stroking and filling operations Yes Yes
Hatch style brushes Yes Yes
Graphics primitives: lines, ellipses, rectangles, rounded rectangles, arcs, pies, chords, Bezier curves, paths Yes Yes
Clipping paths Yes Yes
Images (see Images section) and form XObjects Yes Yes
Transparency groups Yes Yes
Single line and multi line text with vertical and horizontal aligment, including justified text Yes Yes
Extended graphics states with support for fill and stroke alpha, blend modes and overprinting Yes Yes
Affine transformations: multiply, translate, rotate and scale Yes Yes
Shadings - function, axial and radial Yes Yes
Patterns - colored, uncolored and shading Yes Yes
Optional content (layers) with support for custom display trees, multipage and mixed layers Yes Yes
Barcodes (see Barcodes section) Yes Yes
Drawing of external page content (page imposition) Yes Yes
Low level PDF graphics for full control over the page content stream Yes Yes
Formatted content (paragraphs, text blocks, styled text, links inside text, bullet lists) Yes Yes
Tables (simple and composite cells, column spans, row spans, borders) Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Fonts
Standard PDF fonts, Western and CJK Yes Yes
Type1 fonts Yes Yes
Type3 fonts Yes Yes
Ansi and Unicode TrueType fonts with support for font subsetting Yes Yes
Disable text copy/paste for Unicode TrueType fonts Yes Yes
Full color emojis Yes Yes
SVG TrueType fonts Yes Yes
Advanced TrueType features:
Ligatures Yes Yes
Vertical glyphs Yes Yes
Small capitals Yes Yes
Old style figures Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Images
Load images from files and streams Yes Yes
Bmp, Png, Gif, Jpeg, Jpeg2000, Tiff and Raw images Yes Yes
Automatic image type detection Yes Yes
Extra large JPEG images Yes Yes
Extra large TIFF images (24bpp and 32bpp, uncompressed, zip, lzw) Yes Yes
Create images from System.Drawing.Bitmap (WinForms) (BMP, GIF, PNG, TIFF, JPG) Yes Yes
Native support for TIFF (grayscale, RGB and CMYK), JPEG, PNG and RAW images Yes Yes
TIFF to PDF conversion with CCITT G4 compression for B/W images Yes Yes
Image masks: color masks, stencil mask and soft masks Yes Yes
Alternate images for printing Yes Yes
SVG to PDF conversion Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Barcodes
Built in vector barcode engine, no barcode images or barcode fonts Yes Yes
Unidimensional barcodes: Yes Yes
Generic barcodes: Codabar, Code 11, Code 25, Code 25 Interleaved, Code 39, Code 39 Extended, Code 93, Code 93 Extended, Code 128 A, Code 128 B, Code 128 C, COOP 25, Matrix 25, MSI/Plessey Yes Yes
Pharmaceutical barcodes: Code 32, Pharmacode, PZN (Pharma-Zentral-Nummer) Yes Yes
EAN/UPC barcodes: EAN 128, EAN-13, EAN-8, ISBN, ISMN, ISSN, JAN-13, UPC-A, UPC-E Yes Yes
Postal and transportation barcodes: FedEx Ground 96, IATA 25, Identcode, Leitcode, KIX, Planet, PostNet, RM4SCC, SCC-14, SingaporePost, SSCC-18, USPS FIM, USPS Horizontal, USPS PIC Yes Yes
Bidimensional barcodes: Yes Yes
DataMatrix, QR, PDF417, Micro PDF417, Codablock F, Code 16K Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Annotations
Add, edit and remove PDF annotations Yes Yes
Standard and custom appearance for annotations Yes Yes
Flatten annotations Yes Yes
Supported annotations: Yes Yes
Text (sticky notes) annotations Yes Yes
Rubber stamp annotations Yes Yes
Square and circle annotations Yes Yes
Link annotations (hyperlinks) Yes Yes
Line annotations Yes Yes
Ink annotations Yes Yes
Polygon and polyline annotations Yes Yes
Text markup annotations: highlight, underline, strikeout, squiggly Yes Yes
Free text (typewritter) annotations Yes Yes
Sound annotations Yes Yes
Movie annotations Yes Yes
Rich media (Flash) annotations Yes Yes
Redaction annotations Yes Yes
3D annotations with support for: views, projections, lighting schemes, cross sections, backgrounds and animations Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Forms (Acrobat Forms)
Create, load and save PDF forms Yes Yes
Add, edit, remove and rename form fields Yes Yes
Support for text box fields, combo box fields, list box fields, push button fields, check box fields, radio button fields, signature fields Yes Yes
Read/Write (fill) form fields Yes Yes
Create custom appearances for field widgets Yes Yes
Flatten form fields Yes Yes
Form actions (see PDF actions) Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Actions
Add, edit and remove PDF actions Yes Yes
Set actions at document level, page level, annotation level and form field level Yes Yes
Supported actions: Yes Yes
GoTo actions - go to destinations in current PDF file Yes Yes
Remote GoTo actions - go to destinations in external PDF files Yes Yes
GoTo 3D view actions - activate a specific view in a 3D annotation Yes Yes
Lauch actions - launch executables and files Yes Yes
URI actions - go to a web based destination Yes Yes
Named actions - predefined PDF actions Yes Yes
Javascript actions - execute Javascript code Yes Yes
Submit form actions - submit form data to a server Yes Yes
Reset form actions - reset form fields to default values Yes Yes
Hide actions - show or hide form fields Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Functions
Sample based functions (Type 0) Yes Yes
Exponential functions (Type 2) Yes Yes
Stitching functions (Type 3) Yes Yes
Postscript calculator functions (Type 4) Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Text search
Search text in PDF pages with support for regular search, case sensitive search, whole word search and regular expression search Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Content Extraction
Extract text with position information at fragment level and glyph level Yes Yes
Extract text as words with position information at word level and glyph level Yes Yes
Extract text as lines with position information at line level and glyph level Yes Yes
Extract text and words from user defined regions Yes Yes
Extract images including image information such as: image size in pixels, bits per pixel, colorspace, image position on the PDF page, image size on the PDF page, image horizontal and vertical resolution Yes Yes
Extract page content as a sequence of path, text, image and shading objects Yes Yes
Extract page content with associated logical structure information Yes Yes
Extract optional content groups as vector drawings Yes Yes
Extract page content as vector drawings Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Content Transformation
Convert page content to RGB Yes Yes
Convert page content to CMYK Yes Yes
Convert page content to Grayscale Yes Yes
Convert images to Grayscale Yes Yes
Replace page images Yes Yes
Remove page images Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Content Redaction
Text redaction Yes Yes
Image redaction Yes Yes
Redaction annotations Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Portfolios
Create and load PDF portfolios Yes Yes
Define portfolio attributes and define sort order for portfolio items Yes Yes
Add and remove portfolio items Yes Yes
Organize portfolio items into folders Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Low Level COS API
Add, edit and remove COS objects Yes Yes
Supported COS objects: strings, numbers, names, booleans, nulls, arrays, dictionaries and streams Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Licensing
Per developer licensing with royalty free distribution Yes Yes
Single developer license starts at USD $299 and includes 1 year support subscription Yes Yes

Viewer Edition Features

In addition to all the features of Generator Edition, the Viewer Edition provides the following PDF rendering and viewer features:
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Rendering (Veiwer Edition Only)
Render PDF pages to images: RAW, BMP, GIF, JPG, PNG and TIFF Yes Yes
Ultra-high dpi support for PDF to image conversion(output images up to 65536x65536 pixels) Yes Yes
ARGB, RGBA, BGRA, RGB, BGR and Grayscale byte layouts for RAW images Yes Yes
PDF to multipage TIFF (color / grayscale / B&W CCITT G4) Yes Yes
Supported PDF features for rendering: Yes Yes
Filters: Flate, LZW, ASCII 85, ASCII Hex, CCITT Fax, DCT, JBIG2 Yes Yes
Colorspaces: RGB, CMYK, Gray, CalRGB, CalGray, Lab, ICC, Indexed, Separation, DeviceN Yes Yes
Shadings: function based, axial and radial Yes Yes
Patterns: colored, uncolored and shading Yes Yes
Blend modes: all Yes Yes
Vector graphics: move to, line to, curve to (c, y and v), line width, line cap, line join, stroke, fill, form XObject Yes Yes
Images: Raw, Jpeg, Ccitt, Jbig2; Inline images Yes Yes
Image masks: soft masks, stencil masks, chroma key masks Yes Yes
Soft masks Yes Yes
Fonts: standard 14 PDF fonts, TrueType, Type 1 (Postscript and CFF), Type3, CID fonts, Embedded fonts Yes Yes
Font substitution Yes Yes
Annotations: all types Yes Yes
Form fields: all types Yes Yes
Selective page content rendering: turn on/off vector graphics, text, images, annotations and form fields Yes Yes
Support for external graphic engines for improved rendering speed Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
PDF Viewing (Viewer Edition Only)
Viewer controls for Windows Forms, Mac, WPF, UWP, iOS and Android Yes Yes
Viewer controls for .NET Core 3.0 Windows Forms and WPF Yes Yes
Document navigation (page up/down) Yes Yes
Swipe to scroll (if supported by platform) Yes Yes
Page zoom in/out Yes Yes
Pinch to zoom (if supported by platform) Yes Yes
FitWidth zoom mode Yes Yes
Add and remove pages Yes Yes
PageClick/PageTap and PageDoubleClick/PageDoubleTap events Yes Yes
XFINIUM.PDF FEATURES Generator
Edition
Viewer
Edition
Licensing
Per developer licensing with royalty free distribution Yes Yes
Single developer license starts at USD $399 and includes 1 year support subscription Yes Yes