2022||| Docotic.Pdf Crack--最新版
PDF library for C# and VB.NET
Docotic.Pdf is a high-performance C# PDF library for .NET. You can use it to create, read, and edit PDF documents in .NET Core, ASP.NET, Windows Forms, WPF, Xamarin, Blazor, Unity, and HoloLense applications.
The library supports .NET 6, .NET 5, .NET Standard / .NET Core, and .NET 4.x frameworks. You can use the library in .NET on Windows, Linux, macOS, Android, iOS, or in a cloud environment.
Docotic.Pdf provides an easy-to-use API. There is a large set of C# and VB.NET samples to help you integrate the SDK in your project quickly. Contact us to get a comprehensive answer within a few hours. You'll get the answer directly from developers.
Since the first release in 2010, we constantly improve quality of Docotic.Pdf and increase its feature set. The library is fast and its memory consumption is low even for large PDF documents. Our C# code is 100% managed without unsafe blocks, and has no external dependencies. To prevent regressions, we check each build of our PDF SDK with thousands of automatic tests. This allows us to provide you with production-quality builds as soon as the new build with fixes and improvements is ready.
Extract text from PDF document in C#
Use Docotic.Pdf library to convert PDF documents to text in .NET. You can extract formatted text to parse structured data like tables.
You can also read PDF text with detailed information (position, font, color) about every text chunk. That allows you to search text in PDF documents and highlight found phrases.
Docotic.Pdf supports right-to-left and bidirectional text. You can use it to extract Arabic, Hebrew, and Persian text from PDF documents in .NET.
using BitMiracle.Docotic.Pdf; using (var pdf = new PdfDocument("your_document.pdf")) { var options = new PdfTextExtractionOptions { SkipInvisibleText = true, WithFormatting = true }; string formattedText = pdf.GetText(options); Console.WriteLine(formattedText); }
Edit PDF documents in C#
Docotic.Pdf is a powerful .NET PDF editor. You can compress PDF documents. It is possible to remove content. For example, potentially insecure content like actions, attachments, controls.
You can also edit page objects - replace images, change colors, remove or replace text in PDF.
Docotic.Pdf SDK allows you to split and merge PDF documents in just a few lines of code. And you can remove or reorder pages. With help of the library it's possible to impose PDF pages.
using (var merged = new PdfDocument("first.pdf")) { merged.Append("second.pdf"); merged.ReplaceDuplicateObjects(); merged.Save("merged.pdf"); // copy third and first pages to a new PDF document using (PdfDocument splitted = pdf.CopyPages(new[] { 2, 0 })) { splitted.RemoveUnusedResources(); splitted.Save("splitted.pdf"); } }
Convert PDF to images in C#
Our .NET PDF library allows you to save PDF pages as images. You can convert PDF pages to full size or thumbnail images in PNG, TIFF, and JPEG formats.
Or you can save PDF documents as multipage TIFF files. The library can produce bitonal and grayscale TIFF images.
It is also possible to print PDF documents in C# and VB.NET using Docotic.Pdf.
When needed, you can extract images from PDF documents.
using (var pdf = new PdfDocument(@"your_document.pdf")) { PdfDrawOptions options = PdfDrawOptions.Create(); options.BackgroundColor = new PdfRgbColor(255, 255, 255); options.HorizontalResolution = 300; options.VerticalResolution = 300; // save one page pdf.Pages[0].Save("page0.png", options); // save the whole document as multipage bitonal TIFF options.Compression = ImageCompressionOptions.CreateBitonalTiff(); pdf.SaveAsTiff("your_document.tiff", options); }
Convert HTML to PDF in C#
Generate PDF from HTML using the free HTML to PDF add-on for Docotic.Pdf library.
The add-on uses Chromium during conversion, so the web standards compliance is great. You can produce PDF documents from the most complex HTML documents with scripts and styles.
For produced PDFs, it is possible to set up page size, margins, and orientation. The conversion can be delayed if needed. It is possible to convert password-protected HTML documents and documents with SSL errors.
using (var converter = await HtmlConverter.CreateAsync()) { var options = new HtmlConversionOptions(); options.Page.SetSize(PdfPaperSize.A5, isLandscape: true); options.Page.MarginTop = 50; options.Page.MarginBottom = 50; options.Start.SetStartAfterDelay(10 * 1000); options.Authentication.SetCredentials("name", "password"); options.CustomUserAgent = "A user agent of your app"; using (var pdf = await converter.CreatePdfAsync(url, options)) pdf.Save("output.pdf"); }
Fill PDF forms in C#
Docotic.Pdf provides friendly API to read, edit, and fill PDF forms in .NET applications.
You can also flatten PDF form fields.
And you can annotate PDF documents using our C# PDF library.
using (var pdf = new PdfDocument("form.pdf")) { PdfControl field = pdf.GetControl("app_types"); if (field?.Type == PdfWidgetType.TextBox) { PdfTextBox tb = (PdfTextBox)field; tb.Text = "WinForms, WPF, ASP.NET Core, Blazor, Xamarin"; field.Flatten(); } pdf.Save("result.pdf"); }
Create PDF documents in C#
Use Docotic.Pdf to generate PDF documents in .NET Framework and .NET Core applications.
Add text, images, and vector graphics to your PDF files. You can also convert images to PDF documents.
Create interactive PDF documents with forms, annotations, bookmarks, and layers.
You can also sign PDF documents in C# and protect generated PDF files.
using (var pdf = new PdfDocument()) { PdfPage page = pdf.Pages[0]; PdfCanvas canvas = page.Canvas; canvas.Font = pdf.AddFont(PdfBuiltInFont.TimesRoman); canvas.FontSize = 14; canvas.DrawString(10, 60, "Type:"); PdfTextBox type = page.AddTextBox("type", 55, 60, 90, 20); type.Text = "C# PDF library"; PdfImage image = pdf.AddImage("csharp.jpg"); canvas.DrawImage(image, 10, 80); pdf.Save(pathToFile); }
相关文章
- [Protel99SE]打印PDF「建议收藏」
- wda7332re 评测_TP-LINK(普联)AC2100无线扩展器TL-WDA7332RE说明书下载地址!tplink TL-WDA7332RE中继器PDF说明书!-家用路由网…
- Vuepress文章转pdf
- pdf文件用什么方式打开-电脑上的PDF怎么都变成Edge浏览器打开了?怎么更改PDF文件打开方式?
- 将您的PDF转转化为任意格式--所有版本的Acrobat PDF编辑器
- 一款超级强大的PDF编辑工具pdf编辑器全版本下载
- 关于PDF神器,也许是史上最全的整理pdf编辑器全版本下载
- 功能强大的PDF编辑工具--Adobe Acrobat Pro DC2021
- 如何像编辑ppt一样编辑pdf文档?Acrobat DC--最牛逼的PDF编辑器
- Adobe Acrobat DC2021安装详细教程 pdf编辑器全版本下载
- 【Windows】Acrobat Pro 2021 PDF编辑器--最牛逼的PDF编辑器
- Salesforce VisualforcePage取得标准ListView生成PDF文件(五)
- pdf增强插件:Enfocus PitStop Pro 2022 for Mac(PDF文件编辑和校验工具) 介绍及特点
- iText —— JAVA将html转pdf详解编程语言
- Linux系统编程:从基础到实践的PDF手册(linux系统编程pdf)
- Linux系统管理指南:路径拓宽增加生产力(linux系统管理pdf)
- 阅读器Linux环境下安装PDF阅读器指南(在linux下安装pdf)
- Linux经典之旅:免费PDF版(经典linuxpdf)
- 学习 MySQL:中文 PDF 一键下载。(mysql中文pdf)
- Redis入门必备指南PDF版(redis入门指南pdf)
- Linux程序设计:从PDF到实践(linux程序pdf)
- Linux环境下轻松转换PDF文件(linux 转换pdf)
- MySQL5.7中的PDF文档使用指南(mysql5.7pdf)
- Oracle初学者指南从PDF入手(oracle 入门pdf)
- Oracle 发布新款 PDF 插件,更多实用功能迎来突破(oracle pdf插件)
- Oracle终极手册完全掌握PDF书籍(oracle pdf书籍)
- wordpptexcel文档转换成pdf的C#实现代码