我希望有人可以幫我解決我用Aspose.Pdf庫生成帶有超鏈接密碼保護的PDF的問題。問題是,密碼保護似乎搞砸的超級鏈接起來...... 下面的代碼工作正常(無密碼保護): // create new PDF doc with hyperlink in
Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Aspose.Pdf.Page pa
我試圖從某些輸入數據生成pdf。 所以我創造了我的pdfGenerator(),並創建了一些文本的PDF: public class PdfGenerator {
public PdfGenerator() {
//Instantiate License class and call its SetLicense method to use the license
爲什麼我的pdf不顯示波蘭字符? MemoryStream ms = new MemoryStream();
Pdf pdf = new Pdf(ms);
Section section = pdf.Sections.Add();
var txt = new Text("aąbcćde");
txt.TextInfo.FontName = "calibri";
section.Parag