PdfSharpCore is an unofficial .NETCore/netstandard 2.0 revision of PdfSharp-MigraDoc, which is a .NET library for processing PDF.
PdfSharpCore works on Windows and Linux!
PdfSharpCore is keeping updating from https://sourceforge.net/projects/pdfsharp/.
This repository: PDFsharp-MigraDocFoundation-1_50-beta5 (2017-12-24).
If you find the version is below than on the sorceforge, please let us know. Thank you!
SourceForge Versions: https://sourceforge.net/projects/pdfsharp/files/pdfsharp/
PDFsharp is a .NET library for creating and modifying Adobe PDF documents programmatically from any .NET language like C# or VB.NET. PDFsharp defines classes for the objects found in PDF files, so you never have to deal with IDs or references directly. The downloads include MigraDoc Foundation, a .NET library for creating documents on the fly (supports PDF and RTF).
PDFsharp is the .NET library that easily creates and processes PDF documents on the fly from any .NET language. The same drawing routines can be used to create PDF documents, draw on the screen, or send output to any printer.
MigraDoc Foundation is the .NET library that easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF, XPS, or RTF.
PDFsharp is a .NET library for creating and modifying PDF documents.
Brought to you by: pdfsharp, stefan_lange
MigraDoc Foundation - Creating documents on the fly
MigraDoc references PDFsharp as a submodule.
- Use PDFsharp to create PDF files only, but be able to control every pixel and every line that is drawn.
- Use MigraDoc to create PDF and RTF files and to enjoy the comfort of a word processor.
Democrates features of PdfSharpCore components of PdfSharp and MigraDoc.
Note1:
- You should import nuget package System.Text.Encoding.CodePages, and add lines in Program.cs:
static Program()
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
}
Note2:
- Font searching in (1) executing assembly location; (2) Windows/Linux fonts path; and (3) stsong.ttf (ie. 华文宋体) in the embedded resource when font not found.
- For style.Font.Name property, the OriginalFontName (eg. SimSun) or FontName (eg. 宋体) both works. If style.Font.Name not set, then Arial is default.
Use PdfSharp.Charting to create a password protected pdf.
Role | Password | Privilege |
---|---|---|
user | user | view, ... |
owner | owner | view, modify, print, change password, ... |
Use MigraDoc.Rendering to create a simple pdf with one line text.
Use MigraDoc.Rendering to create a common pdf with paragraph styles and charting.
Use MigraDoc.Rendering to create a invoice letter with header, footer, title, table, and feed data from a xml file
Use MigraDoc.Rendering to create a pdf that combines another pdf and appends some new content.
The official project web site:
http://pdfsharp.net/
The official peer-to-peer support forum:
http://forum.pdfsharp.net/