Spire.PDF | 新闻
|
028-81705109
|
|
微信扫一扫
|

在线编辑/WebAPI

Spire.PDF 9.3.4 已发布。本次更新新增支持将字体嵌入到PDF文档和创建“显示/隐藏域”动作的功能,同时还优化了文档压缩功能。此外,本次更新还修复了许多已知问题,如转换 PDF 到 Word 内容不正确的问题。详情请阅读以下内容。 新功能: 支持将字体嵌入到PDF文档的功能。 PdEmbeddedFontConverter converter = new PdEmbeddedFontConverter ("InputFile"); convert.ToEmbeddedFontPdf("resultFile"); 支持创建“显示/隐藏域”动作。 PdfDocument pdf = new PdfDocument(inputFile); pdf.LoadFromFile(inputFile); for (int c = 0; c < pdf.Pages.Count; c++) { PdfFormWidget formWidget =…
Spire.PDF 9.2.6 已发布。该版本支持设置文本框注释的文本对齐类型,同时还支持压缩PDF文件后保存到流。此外,该版本还修复了许多已知问题,如修复了打印PDF文件后内容不正确的问题。详情请阅读以下内容。 新功能: 支持设置文本框注释的文本对齐类型。 RectangleF rect = new RectangleF(x, y, 100, 15); PdfFreeTextAnnotation textAnnotation = new PdfFreeTextAnnotation(rect); TextAlignment(textAnnotation); textAnnotation.TextAlignment = PdfAnnotationTextAlignment.Right; 支持压缩PDF文件后保存到流。 using (FileStream fileStream = new FileStream(outputFile, FileMode.Create)) { PdfCompressor compressor = new PdfCompressor(inputFile);…
Spire.PDF 9.2.2 已发布。该版本新增 TextCompressionOptions 以支持设置压缩类型,同时还支持设置专色的颜色空间为 RGB。此外,本次更新还增强了 PDF 到 Excel 和图片以及 XPS 到 PDF 的转换。详情请阅读以下内容。 新功能: 支持设置专色的颜色空间为RGB。 PdfDocument pdf = new PdfDocument(); PdfPageBase page = pdf.Pages.Add(); PdfRGBColor c = Color.Purple; //color space RGB PdfSeparationColorSpace cs = new…
Spire.PDF 8.12.7 已发布。该版本增加了转换 PDF 到 Word 的新接口。本次更新还增强了 PDF 到 Excel 的转换功能。此外,该版本还修复了许多已知问题,如通过位置查找到的文本内容不正确的问题。详情请阅读以下内容。 新功能: 增加了转换PDF到Word的新接口。 PdfToWordConverter converter= new PdfToWordConverter (inputPDF); converter.SaveToDocx(outputWord); converter.Dispose(); 问题修复: 修复了转换PDF到Excel图片丢失的问题。 修复了通过位置查找到的文本内容不正确的问题。 修复了合并文档时程序抛异常“Badly formed dictionary next should be a name. before 377658”的问题。 修复了使用pdfDocument.InsertPage方法合并文档时程序抛异常System.StackOverflowException的问题。 修复了转换PDF到Excel项目符号显示不正确的问题。 修复了转换PDF到Excel结果文档打开失败的问题。…