PDFKit.NET支持實時閱讀、創建和操作PDF文檔和PDF表單,同時支持PDF拆分、附加、印記、加密、提取、填寫等等。 PDFKit.NET是一個獨立的程序集,它完全用C#編寫,沒有任何外部依賴關系。
PDFKit.NET is a 100% managed .NET component for, reading, creating and manipulating PDF documents and PDF forms on the fly. With PDFKit.NET you can split, append, stamp, encrypt PDF documents and fill PDF forms. This component is typically deployed as part of an ASP.NET or WinForms application, however, it is just as well possible to integrate PDFKit.NET in a .NET web service.
Features:
General
- 100% .NET managed code
- Verifiable assembly (PEVerify)
- Write to disk or memory
- Write directly to an HTTP connection, without writing code
- Read from disk or memory
- Read, create and modify document properties
- Document properties as XMP metadata
- Read, create and modify custom XMP metadata
Split, Append and Imposition
- Append and split multiple PDF documents
- Compose multiple pages to achieve e.g. 2-up or a thumbnail page
Fill Form fields
- Fill (multiline) text fields, check boxes, radio button, list boxes and combo boxes
- Edit the position, size and other properties of form fields
- Flatten form fields
- Active JavaScript interpretation while filling form fields
- Adobe Forms Designer 6 (xfa 2.0), 7.0 (xfa 2.2), 7.1 (xfa 2.4) and 8.0 (xfa 2.5) compatibility (static forms only)
- Adobe LiveCycle Designer 8.1 (xfa 2.6), 8.1.2 (xfa 2.7) and 8.2 ES (xfa 2.8) compatibility (static forms only)
- Digitally signing and verification (Signature Field)
Create PDF Forms
- Create or modify PDF Form fields (text fields, check boxes, radio buttons, list boxes, combo boxes, push buttons or signature fields)
- Create or modify Widget Annotations (visual field presentation)
Drawing / Shapes / Stamping / Graphics
- Stamp (multiline) text and specify alignment, justification, multiple fonts, etc.
- Stamp primitive shapes such as Line, Pie, Rectangle, Text, Image
- Text formatting: Strike-through, Single and double underline, Overline, Sub- and superscript
- Text formatting: Left, right and center alignment, Justification
- Text formatting: Simple XHTML formatting including CSS style sheets
- Vector graphics: Lines, rectangles, ellipses, pies, arcs
- Solid, Gradient and Pattern fills
- TextShape and MultilineTextShape
- Rotate, Translate, Skew and Scale shapes with Transform object.
- ImageShape allows mixing bitmap and vector graphics.
- Supported image types: BMP, GIF, JPEG, TIFF, PNG, GDI+ / Embed System.Drawing.Bitmap
- Insert artwork from existing PDF using PageShape
- Insert SVG document using SvgShape, while preserving vectors
- Insert EMF and WMF files using MetaFileShape, while preserving vectors
- Add multiple layers with the LayerShape
Text / Content Extraction
- Extract Text from existing pages, including position and text-properties like Font, Pen and Brush
- Find text on a specific page or in a complete document
- All page graphics are exposed as a tree of shape objects through the Page.CreateShapes method. You can enumerate and modify the contents and persist the changes.
Fonts
- 14 standard PDF fonts
- TrueType fonts (.ttf)
- TrueType Collection fonts (.ttc)
- TrueType subset embedding
- Unicode
- Ligatures
- Enumerate the fonts from an existing document
Security / Encryption
- RC4: 40 and 128 bit
- AES: 128 and 256 bit
- Set user and owner password
- Set user privileges such as allow print
- Read, create and modify security settings
Annotations
- Read, create and modify StickyNotes (remarks) from pages
- Read, create and modify Stamps, TextMarkups, FreeTexts and Lines from pages
- Read, create and modify Links from pages
- Read, create and modify Widgets from pages
Actions
- Read, create and modify actions on Document, Page, Bookmark, Link, Field and Widget
- Supported actions: JavaScript, Uri, ResetForm, SubmitForm, ImportData, HideAnnotation, GoTo, Launch
Navigation
- Read, create and modify bookmarks from documents, including properties like Bold, Italic and Font.
- Read, create and modify viewer preferences
- Read, create and modify internal destinations
- Read, create and modify named destinations
- Read, create and modify remote destinations
Colors
- RGB Text color
- CMYK Text color
- Grayscale Text color
- Pens and Brushes in RGB, CMYK or Grayscale