FreeSpire.PDF
10.2.0
dotnet add package FreeSpire.PDF --version 10.2.0
NuGet\Install-Package FreeSpire.PDF -Version 10.2.0
<PackageReference Include="FreeSpire.PDF" Version="10.2.0" />
paket add FreeSpire.PDF --version 10.2.0
#r "nuget: FreeSpire.PDF, 10.2.0"
// Install FreeSpire.PDF as a Cake Addin #addin nuget:?package=FreeSpire.PDF&version=10.2.0 // Install FreeSpire.PDF as a Cake Tool #tool nuget:?package=FreeSpire.PDF&version=10.2.0
.NET Library for Processing & Manipulating PDF Files
Product Page 丨 Documentation 丨 Examples 丨 Forum 丨 Temporary License 丨 Customized Demo
Free Spire.PDF for .NET is a Community Edition of the Spire.PDF for .NET, which is a totally free PDF API for commercial and personal use.
As a standalone .NET library, Free Spire.PDF for .NET enables developers to create, write, edit, convert, print, handle and read PDF files on any .NET( C#, VB.NET, ASP.NET, .NET Core) applications.
PDF Processing Features.
- Generate/write/read/edit PDF documents.
- Supports 14 core, Type 1, True Type, Type 3, CJK & Unicode fonts.
- Extract images, text, pages and attachments from a PDF document with great speed and accuracy.
- Merge/split PDF documents and overlay documents.
- Convert HTML to PDF, XPS to PDF, Text to PDF and images to PDF to PDF and convert PDF to Excel, convert PDF to Word, convert PDF to images with efficient performance.
- Encrypt/Decrypt PDF, modify PDF passwords and create PDF digital signatures.
- Add and modify text/image bookmarks.
- Add text in Footer/Header.
- Export database table and pictures to PDF.
- Add Hyperlinks, work with actions/Javascript Action/Action Chain/Action Annotation.
- Add/remove/edit/fill fields.
Conversions
- Convert Webpage HTML to PDF, HTML ASPX to PDF
- Convert Image Jpeg/Jpg/Png/Bmp/Tiff/Gif/EMF to PDF
- Convert Text to PDF
- Convert PDF to HTML
- Convert XPS to PDF
- Convert PDF to SVG
- Convert PDF to XPS
- Convert PDF to Image
- Convert PDF to Word
- Convert PDF to Excel
Support Environment
- Fully written in C# and also support VB.NET.
- Applied on .NET Framework 2.0, 3.5, 3.5 Client Profile, 4.0, 4.0 Client Profile,4.5 and .NET Standard 2.0, .NET Core, .NET 5.0, MonoAndroid and Xamarin.Ios.
- Support Windows Forms and ASP.NET Applications.
- Support 32-bit OS
- Support 64-bit OS
- Support PDF Version 1.2, 1.3, 1.4, 1.5, 1.6 and 1.7.
- PDF API reference in HTML.
- Be Independent and do not need Adobe Acrobat or other third party PDF libraries.
Convert PDF to DOC in C#
//Create a PDF document and load sample PDF.
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("test.pdf");
//Use SaveToFile method and set conversion target parameter as FileFormat.DOC.
doc.SaveToFile("PDFtoDoc.doc", FileFormat.DOC);
Convert PDF to images in C#
//Create a PDF document and load sample PDF.
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("sample.pdf");
Image bmp = doc.SaveAsImage(0);
Image emf = doc.SaveAsImage(0, Spire.Pdf.Graphics.PdfImageType.Metafile);
Image zoomImg = new Bitmap((int)(emf.Size.Width * 2), (int)(emf.Size.Height * 2));
using (Graphics g = Graphics.FromImage(zoomImg))
{
g.ScaleTransform(2.0f, 2.0f);
g.DrawImage(emf, new Rectangle(new Point(0, 0), emf.Size), new Rectangle(new Point(0, 0), emf.Size), GraphicsUnit.Pixel);
}
//Save as BMP
bmp.Save("convertToBmp.bmp", ImageFormat.Bmp);
System.Diagnostics.Process.Start("convertToBmp.bmp");
//Save as EMF
emf.Save("convertToEmf.png", ImageFormat.Png);
System.Diagnostics.Process.Start("convertToEmf.png");
//Save as ZoomImg
zoomImg.Save("convertToZoom.png", ImageFormat.Png);
System.Diagnostics.Process.Start("convertToZoom.png");
Convert HTML to PDF in C#
//Create a pdf document.
PdfDocument doc = new PdfDocument();
PdfPageSettings setting = new PdfPageSettings();
setting.Size = new SizeF(1000,1000);
setting.Margins = new Spire.Pdf.Graphics.PdfMargins(20);
PdfHtmlLayoutFormat htmlLayoutFormat = new PdfHtmlLayoutFormat();
htmlLayoutFormat.IsWaiting = true;
String url = "https://www.wikipedia.org/";
Thread thread = new Thread(() =>
{ doc.LoadFromHTML(url, false, false, false, setting,htmlLayoutFormat); });
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
thread.Join();
//Save pdf file.
doc.SaveToFile("output-wiki.pdf");
Product Page 丨 Documentation 丨 Examples 丨 Forum 丨 Temporary License 丨 Customized Demo
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. 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. |
-
.NETFramework 4.8
- No dependencies.
-
.NETStandard 2.0
- SkiaSharp (>= 1.68.0)
- System.Buffers (>= 4.5.0)
- System.Memory (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
NuGet packages (16)
Showing the top 5 NuGet packages that depend on FreeSpire.PDF:
Package | Downloads |
---|---|
RG3.BO.Abstractions
1、【业务操作实体抽象】(可配置化,标准化,灵活配置,集成百度、腾讯、阿里、短信通等巨头接口,可脱离开发环境,集成nodejs中间件、统一认证中心) 2、以Rg3.开头且类继承 IService 或 IRepository的在Starup里面不用注入,案例如下 3、public class ListRepository : IRepository 4、public class ListService : IService 5、使用请到github获取 RG3.PF.WebApp.Host 6、6.0.0.77开始,nodeserice迁移到RG3.PF.PinYinScriptEngineCliWrap |
|
OpenCV4
OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being an Apache 2 licensed product, OpenCV makes it easy for businesses to utilize and modify the code. The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, find similar images from an image database, remove red eyes from images taken using flash, follow eye movements, recognize scenery and establish markers to overlay it with augmented reality, etc. OpenCV has more than 47 thousand people of user community and estimated number of downloads exceeding 18 million. The library is used extensively in companies, research groups and by governmental bodies. Along with well-established companies like Google, Yahoo, Microsoft, Intel, IBM, Sony, Honda, Toyota that employ the library, there are many startups such as Applied Minds, VideoSurf, and Zeitera, that make extensive use of OpenCV. OpenCV’s deployed uses span the range from stitching streetview images together, detecting intrusions in surveillance video in Israel, monitoring mine equipment in China, helping robots navigate and pick up objects at Willow Garage, detection of swimming pool drowning accidents in Europe, running interactive art in Spain and New York, checking runways for debris in Turkey, inspecting labels on products in factories around the world on to rapid face detection in Japan. It has C++, Python, Java and MATLAB interfaces and supports Windows, Linux, Android and Mac OS. OpenCV leans mostly towards real-time vision applications and takes advantage of MMX and SSE instructions when available. A full-featured CUDAand OpenCL interfaces are being actively developed right now. There are over 500 algorithms and about 10 times as many functions that compose or support those algorithms. OpenCV is written natively in C++ and has a templated interface that works seamlessly with STL containers. |
|
Reinvent.Comum.Utils
Reinvent Utils |
|
NCPC.Documents
Usefull methods to work with Documents |
|
Tesseract.Lib
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on FreeSpire.PDF:
Repository | Stars |
---|---|
functionland/fx-files
You want to literally own your files? This is something won't happen on traditional cloud services in a lifetime. And this is something is going to happen in a glance with "Fx Files" app from now on. It is a file manager which stores everything on Fula blockchain network of Bloxes.
|
Version | Downloads | Last updated |
---|---|---|
10.2.0 | 114,251 | 3/22/2024 |
8.6.0 | 719,964 | 7/19/2022 |
8.2.0 | 295,675 | 2/9/2022 |
7.8.9 | 451,340 | 8/24/2021 |
7.2.0 | 342,538 | 2/8/2021 |
6.10.6 | 113,171 | 10/21/2020 |
6.2.0 | 373,929 | 2/14/2020 |
5.10.0 | 191,737 | 10/15/2019 |
5.4.0 | 155,309 | 4/23/2019 |
5.1.0 | 101,943 | 1/23/2019 |
4.3.1 | 84,061 | 6/15/2018 |
3.2.0 | 266,894 | 1/14/2015 |
3.0.0 | 11,272 | 5/13/2014 |
2.9.37 | 12,033 | 3/17/2014 |
Free version is limited to 10 pages of PDF. This limitation is enforced during loading and creating files. When converting PDF to Image, the first 3 pages of PDF files will be converted to Image format successfully.