spire.doc

    0熱度

    1回答

    如何將Word文檔轉換爲PDF,以便頁面設置(如源文檔的邊距和方向以及輸出PDF需要相同)。我試過以下代碼E-ICEBLUE 。 'Load Document Dim document As New Document() document.LoadFromFile("E:\work\documents\TestSample.docx") 'Convert Word to PDF docu

    0熱度

    1回答

    我正在使用xml和xslt。我有以下XML <book> <book-part book-part-type="chapter" book-part-number="1" id="PT-161_ch_1"> <book-meta> <book-title-group> <book-title>Software-Hardware Integration in

    1熱度

    1回答

    我有一個需要間接使用三個不同版本的第三方庫的項目。這些版本互不兼容,所以我不能使用綁定重定向 - 它必須是確切的.dll文件。 (該庫是Spire.Doc,Spire.XLS & Spire.PDF;在Spire.PDF DLL由三個引用) 我有三個組成部分分離成單個包裝項目,並創建的類包裝,其在圖書館的任何直接引用。但是,這並沒有解決我的問題:'消費'項目仍然需要將所有庫複製到bin文件夾才能運

    1熱度

    1回答

    我使用Spire.doc創建一個Word文件 ,我跟着他們爲榜樣這樣 public class WordController : Controller { public void Download() { Document doc = new Document(); Paragraph test = doc.AddSection().AddParag

    10熱度

    1回答

    我試圖將安全的PDF轉換爲XPS並使用FreeSpire返回到PDF,然後使用iTextSharp將它們組合在一起。以下是我用於轉換各種文件的代碼片段。 char[] delimiter = { '\\' }; string WorkDir = @"C:\Users\rwong\Desktop\PDF\Test"; Directory.SetCurrentDirectory(WorkDir);

    0熱度

    1回答

    我有這樣的代碼合併文檔使用石塔.PDF但我得到了下面的代碼在這一行result.Save(outputFile,Spire.Pdf.FileFormat.PDF); CS0012 C#的類型集中定義'HttpContext'在未被引用的程序集中定義爲 。您必須添加對程序集'System.Web的引用, Version = 4.0.0.0,Culture = neutral,PublicKeyTok

    0熱度

    1回答

    我正在做一個郵件合併使用來自SQL數據庫的數據集。 ,我取回存儲在數據庫中有一些HTML標記的數據,例如: 我的一個合併域的包含這樣的文字: <ul><li><strong>Bullet Title 1</strong>Bullet content 1.</li><li><strong>Bullet Title 2</strong>Bullet content 2.</li></ul> 我的合

    0熱度

    1回答

    我試圖在特定位置(x和y)創建帶有幾個文本框(稍後添加更多) y)在同一頁面上使用Spire.doc。但是這個代碼生成兩個頁面。任何幫助? 如果以任何其他方式沒有必要使用Spire。 請保持謹慎,我是編程的新手,謝謝。 string TEMPprocitano; private void button1_Click(object sender, EventArgs e) {

    0熱度

    1回答

    public MemoryStream PdfGeneration(Model model) { string path = HttpContext.Current.Server.MapPath("test.pdf"); path = path.Replace("\\api", ""); FileStream fs = new FileStream(path, Fi

    0熱度

    1回答

    幫我改正這個異常,idk是什麼。我找不到任何有關這方面的信息。我需要做什麼? using System; using Spire.Doc; using Spire.Doc.Documents; namespace TOC { class MainClass { public static void Main (string[] args) {