Spire.PDF 6.12.3已发布。该版本支持了添加页面标签,并且支持转换PDF到PDFX1A文档。此外,该版本还修复了转换PDF到图片/TIFF时出现的问题。详情请阅读以下内容。 新功能: 支持了添加页面标签。 //当文档没有页面标签时 PdfDocument doc = new PdfDocument(inputFile); doc.PageLabels = new PdfPageLabels(); doc.PageLabels.AddRange(0, PdfPageLabels.Decimal_Arabic_Numerals_Style, "label "); doc.SaveToFile(outputPDF); //当文档有页面标签时 PdfDocument doc = new PdfDocument(inputFile); PdfPageLabels label = doc.PageLabels; label.AddRange(2, PdfPageLabels.Decimal_Arabic_Numerals_Style, "new label "); doc.SaveToFile(outputPDF); 支持转换PDF到PDFX1A文档。…