Xfinium.Pdf.NET 12.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xfinium.Pdf.NET --version 12.1.0                
NuGet\Install-Package Xfinium.Pdf.NET -Version 12.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xfinium.Pdf.NET" Version="12.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xfinium.Pdf.NET --version 12.1.0                
#r "nuget: Xfinium.Pdf.NET, 12.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xfinium.Pdf.NET as a Cake Addin
#addin nuget:?package=Xfinium.Pdf.NET&version=12.1.0

// Install Xfinium.Pdf.NET as a Cake Tool
#tool nuget:?package=Xfinium.Pdf.NET&version=12.1.0                

XFINIUM.PDF library is a cross platform library for PDF development. It 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, XFINIUM.PDF library is here to help.
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. The library is written entirely in C#, being 100% managed. The XFINIUM.PDF library is licensed per developer and can be distributed ROYALTY FREE. The complete list of features is available below.
If you are looking a feature that is not listed, feel free to contact us and we'll help.

SUPPORTED PLATFORMS

  • .NET 4.x
  • Windows Forms
  • Xamarin.Mac
  • ASP.NET Webforms and MVC
  • Console applications
  • Windows services
  • Mono
  • WPF 4.x
  • Xamarin.iOS
  • Xamarin.Android
  • Xamarin.Forms
  • Universal Windows Platform
  • .NET Core 2.x/3.x
  • .NET Standard 2.x
  • .NET 5
  • .NET 6

DOCUMENT FEATURES

  • Create and load PDF documents from files and streams
  • Grid layout and/or flow layout modes
  • Save PDF files in PDF/A-1B, PDF/A-2 B/U, PDF/A-3 B/U format-
  • Save PDF files in PDF/UA-1 format
  • Save PDF files to disk and streams
  • PDF structure compression
  • Document information and custom properties
  • Document viewer preferences and display modes
  • XMP metadata
  • Document file attachments
  • Document level Javascripts and actions
  • Document outline (bookmarks)
  • Create CAD and geospatial enabled PDF files
  • Add, remove and read Bates numbers
  • Add and remove PDF pages
  • Page boxes - media box, crop box, art box, trim box and bleed box
  • Page labeling ranges (page numbering)
  • Extract pages from external PDF files
  • Append PDF pages
  • Fast PDF merging
  • Split PDF files into pages
  • Document incremental updates
  • Partial document loading and saving

LOGICAL STRUCTURE & TAGGED PDF & ACCESSIBILITY

  • Logical document structure
  • Tagged PDF
  • Structure tree and structure elements
  • ID map
  • Role map
  • Structure element attributes
  • Attribute classes
  • PDF/UA-1
  • Automatic tagging of flow documents
  • Extraction of page content with associated logical structure information

FLOW DOCUMENT FEATURES

  • Mixed formatted text
  • Superscript/subscript text
  • Images
  • Form XObjects
  • Annotations
  • Tables
  • Headers and footers
  • Table of contents
  • Automatic tagging for accessibility
  • Before/After draw events for flow content

SECURITY

  • User and owner passwords
  • Document access rights
  • 40 bit and 128 bit RC4 encryption
  • 128 bit and 256 bit AES encryption
  • Content redaction
  • Disable text copy/paste

DIGITAL SIGNATURES

  • Approval and certifying digital signatures with X509 certificates
  • Basic CMS and PAdES digital signatures with SHA256 / SHA384 / SHA512
  • Signature timestamps
  • OCSP and CRL information included in digital signatures
  • Document security store
  • Document timestamps
  • LTV (Long Term Validation) enabled digital signatures
  • Support for hardware signature tokens/smartcards (Windows, WPF, Mac)
  • Externally computed signatures
  • Custom digital signatures
  • Load digital signatures from signed PDF files
  • Decode existing signatures into ASN.1 objects
  • Extract the certificate from digital signatures
  • Save the signed copy of a PDF document

GRAPHICS FEATURES

  • Grid layout for fixed content positioning
  • Flow layout for relative content positioning
  • All PDF color spaces: DeviceRGB, DeviceCMYK, DeviceGray, Indexed, CalGray, CalRGB, Lab, ICC, Separation, DeviceN and PANTONE colors
  • Pen and brush objects for stroking and filling operations
  • Hatch style brushes
  • Graphics primitives: lines, ellipses, rectangles, rounded rectangles, arcs, pies, chords, Bezier curves, paths
  • Clipping paths
  • Images (see Images section) and form XObjects
  • Transparency groups
  • Single line and multi line text with vertical and horizontal alignment, including justified text
  • Extended graphics states with support for fill and stroke alpha, blend modes and overprinting
  • Affine transformations: multiply, translate, rotate and scale
  • Shadings - function, axial and radial
  • Patterns - colored, uncolored and shading
  • Optional content (layers) with support for custom display trees, multipage and mixed layers
  • Barcodes (see Barcodes section)
  • Drawing of external page content (page imposition)
  • Low level PDF graphics for full control over the page content stream
  • Formatted content (paragraphs, text blocks, styled text, links inside text, bullet lists)
  • Tables (simple and composite cells, column spans, row spans, borders)

FONTS

  • Standard PDF fonts, Western and CJK
  • Type1 fonts
  • Type3 fonts
  • Ansi and Unicode TrueType fonts with support for font sub-setting
  • Disable text copy/paste for Unicode TrueType fonts

IMAGES

  • Load images from files and streams
  • Bmp, Png, Gif, Jpeg, Jpeg2000, Tiff and Raw images
  • Automatic image type detection
  • Extra large JPEG images
  • Extra large TIFF images (24bpp and 32bpp, uncompressed, zip, lzw)
  • Create images from System.Drawing.Bitmap (WinForms) (BMP, GIF, PNG, TIFF, JPG)
  • Native support for TIFF (grayscale, RGB and CMYK), JPEG, PNG and RAW images
  • TIFF to PDF conversion with CCITT G4 compression for B/W images
  • Image masks: color masks, stencil mask and soft masks
  • Alternate images for printing
  • SVG to PDF conversion

BARCODES

  • Built in vector barcode engine, no barcode images or barcode fonts
  • Unidimensional barcodes:
    • 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
    • Pharmaceutical barcodes: Code 32, Pharmacode, PZN (Pharma-Zentral-Nummer)
    • EAN/UPC barcodes: EAN 128, EAN-13, EAN-8, ISBN, ISMN, ISSN, JAN-13, UPC-A, UPC-E
    • 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
  • Bidimensional barcodes:
    • DataMatrix, QR, PDF417, Micro PDF417, Codablock F, Code 16K

PDF ANNOTATIONS

  • Add, edit and remove PDF annotations
  • Standard and custom appearance for annotations
  • Flatten annotations
  • Supported annotations:
    • Text (sticky notes) annotations
    • Rubber stamp annotations
    • Square and circle annotations
    • File attachment annotations
    • Link annotations (hyperlinks)
    • Line annotations
    • Ink annotations
    • Polygon and polyline annotations
    • Text markup annotations: highlight, underline, strikeout, squiggly
    • Free text (typewriter) annotations
    • Sound annotations
    • Movie annotations
    • Rich media annotations
    • Redaction annotations
    • 3D annotations with support for: views, projections, lighting schemes, cross sections, backgrounds and animations

PDF FORMS (Acrobat forms)

  • Create, load and save PDF forms
  • Add, edit, remove and rename form fields
  • Support for text box fields, combo box fields, list box fields, push button fields, check box fields, radio button fields, signature fields
  • Read/Write (fill) form fields
  • Create custom appearances for field widgets
  • Flatten form fields
  • Form actions (see PDF actions)

PDF ACTIONS

  • Add, edit and remove PDF actions
  • Set actions at document level, page level, annotation level and form field level
  • Supported actions:
    • GoTo actions - go to destinations in current PDF file
    • Remote GoTo actions - go to destinations in external PDF files
    • GoTo 3D view actions - activate a specific view in a 3D annotation
    • Launch actions - launch executables and files
    • URI actions - go to a web based destination
    • Named actions - predefined PDF actions
    • Javascript actions - execute Javascript code
    • Submit form actions - submit form data to a server
    • Reset form actions - reset form fields to default values
    • Hide actions - show or hide form fields

PDF FUNCTIONS

  • Sample based functions (Type 0)
  • Exponential functions (Type 2)
  • Stitching functions (Type 3)
  • Postscript calculator functions (Type 4)

TEXT SEARCH

  • Search text in PDF pages with support for regular search, case sensitive search, whole word search and regular expression search

CONTENT EXTRACTION

  • Extract text with position information at fragment level and glyph level
  • Extract text as words with position information at word level and glyph level
  • Extract text as lines with position information at line level and glyph level
  • Extract text and words from user defined regions
  • 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
  • Extract page content as a sequence of path, text, image and shading objects
  • Extract page content with associated logical structure information
  • Extract optional content groups as vector drawings
  • Extract page content as vector drawings

CONTENT TRANSFORMATION

  • Convert page content to RGB
  • Convert page content to CMYK
  • Convert page content to Grayscale
  • Convert images to Grayscale
  • Replace page images
  • Remove page images

CONTENT REDACTION

  • Text redaction
  • Image redaction
  • Redaction annotations

PDF PORTFOLIOS

  • Create and load PDF portfolios
  • Define portfolio attributes and define sort order for portfolio items
  • Add and remove portfolio items
  • Organize portfolio items into folders

LOW LEVEL COS API

  • Add, edit and remove COS objects
  • Supported COS objects: strings, numbers, names, booleans, nulls, arrays, dictionaries and streams

PDF RENDERING (Viewer Edition Only)

  • Render PDF pages to images: RAW, BMP, GIF, JPG, PNG and TIFF
  • ARGB, RGBA, BGRA, RGB, BGR and Grayscale byte layouts for RAW images
  • Ultra-high dpi support for PDF to image conversion (output images up to 65536x65536 pixels)
  • PDF to multipage TIFF (color / grayscale / B&W CCITT G4)
  • Supported PDF features for rendering:
    • Filters: Flate, LZW, ASCII 85, ASCII Hex, CCITT Fax, DCT, JBIG2
    • Colorspaces: RGB, CMYK, Gray, CalRGB, CalGray, Lab, ICC, Indexed, Separation, DeviceN
    • Shadings: function based, axial and radial
    • Patterns: colored, uncolored and shading
    • Blend modes: all
    • Vector graphics: move to, line to, curve to (c, y and v), line width, line cap, line join, stroke, fill, form XObject
    • Images: Raw, Jpeg, Ccitt, Jbig2; Inline images
    • Image masks: soft masks, stencil masks, chroma key masks
    • Soft masks
    • Fonts: standard 14 PDF fonts, TrueType, Type 1 (Postscript and CFF), Type3, CID fonts, Embedded fonts
    • Font substitution
    • Annotations: all types
    • Form fields: all types
  • Selective page content rendering: turn on/off vector graphics, text, images, annotations and form fields
  • Support for external graphic engines for improved rendering speed

PDF VIEWING (Viewer Edition Only)

  • Viewer controls for Windows Forms, Mac, WPF, UWP, iOS and Android
  • Viewer controls for .NET Core 3.0/3.1, .NET 5, .NET 6 Windows Forms and WPF
  • Document navigation (page up/down)
  • Swipe to scroll (if supported by platform),
  • Page zoom in/out
  • Pinch to zoom (if supported by platform)
  • FitWidth zoom mode
  • Add and remove pages
  • PageClick/PageTap and PageDoubleClick/PageDoubleTap events
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows is compatible.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 is compatible.  netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Xfinium.Pdf.NET:

Package Downloads
Xfinium.Pdf.Render.NET

XFINIUM.PDF.Render library is a cross platform library for converting PDF files to images. It supports a wide set of features, ranging from simple PDF to image to complex PDF to multipage TIFF with selectable B/W dithering. Code written for XFINIUM.PDF can be compiled on all supported platforms without changes. The Xfinium.Pdf.Render.NET package is part of XFINIUM.PDF Viewer CROSS PLATFORM product: http://xfiniumpdf.com/xfinium-pdf-crossplatform/xfinium-pdf-packages.html

Xfinium.Pdf.View.NET.WinForms

XFINIUM.PDF library is a cross platform library for PDF development. It supports a wide set of features, ranging from simple PDF creation to form filling, content redaction, complex color conversions or PDF rendering. 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. The XFINIUM.PDF.View control is a PDF viewer control for Windows Forms running on .NET, .NET Core and .NET Framework. It supports: • Document navigation (page up/down) • Page zoom in/out • FitWidth zoom mode • Add and remove pages • PageClick and PageDoubleClick events The Xfinium.Pdf.View.NET.WinForms package is part of XFINIUM.PDF Viewer CROSS PLATFORM product: http://xfiniumpdf.com/xfinium-pdf-crossplatform/xfinium-pdf-packages.html

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
13.2.1 48 10/31/2024
13.2.0 328 10/1/2024
13.1.3 383 9/2/2024
13.1.2 225 8/1/2024
13.1.1 267 7/1/2024
13.1.0 249 6/3/2024
13.0.2 281 5/1/2024
13.0.1 264 4/1/2024
13.0.0 277 3/4/2024
12.2.3 254 2/1/2024
12.2.2 1,565 1/3/2024
12.2.1 344 12/4/2023
12.2.0 365 11/1/2023
12.1.4 3,937 10/2/2023
12.1.3 413 9/4/2023
12.1.2 485 8/1/2023
12.1.1 477 6/30/2023
12.1.0 390 6/1/2023
12.0.2 934 5/2/2023
12.0.1 784 4/3/2023
12.0.0 657 3/1/2023
11.1.4 709 2/1/2023
11.1.3 836 1/3/2023
11.1.2 878 12/2/2022
11.1.1 1,609 11/1/2022
11.1.0 1,094 9/30/2022
11.0.2 1,094 9/2/2022
11.0.1 1,107 8/1/2022
11.0.0 1,182 7/4/2022
10.2.2 1,125 6/1/2022
10.2.1 1,180 5/2/2022
10.2.0 1,269 4/1/2022