亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

PDFizer 可以將html轉(zhuǎn)換成pdf格式文檔的工具

  • 軟件大?。?span>420KB
  • 軟件語(yǔ)言:英文軟件
  • 軟件類型:國(guó)外軟件
  • 軟件授權(quán):免費(fèi)軟件
  • 軟件類別:瀏覽閱讀
  • 應(yīng)用平臺(tái):windows平臺(tái)
  • 更新時(shí)間:2009-03-01
  • 網(wǎng)友評(píng)分:
360通過(guò) 騰訊通過(guò) 金山通過(guò)

情介紹

First, set a reference in your project to the 3 DLL's that Pdfizer uses. Here are the 3 dll names to set a reference to:

ICSharpCode.SharpZipLib.dll (This component is used to parse the HTML)

itextsharp.dll (This component is used by Pdfizer to create the PDF document)

Pdfizer.dll (This is the main component with the HtmlToPdf object that executes the conversion operations).

Now we can add some code to use this component. Here is the code to generate a PDF from some HTML specified:

// set a path to where you want to write the PDF to.string sPathToWritePdfTo = @"C:\new_pdf_name.pdf"; // build some HTML text to write as a PDF. You could also // read this HTML from a file or other means.// NOTE: This component doesn't understand CSS or other // newer style HTML so you will need to use depricated // HTML formatting such as the <font> tag to make it look correct.System.Text.StringBuilder sbHtml = new System.Text.StringBuilder();sbHtml.Append("<html>");sbHtml.Append("<body>");sbHtml.Append("<font size='14'>My Document Title Line</font>");sbHtml.Append("<br />");sbHtml.Append("This is my document text");sbHtml.Append("</body>");sbHtml.Append("</html>"); // create file stream to PDF file to write tousing (System.IO.Stream stream = new System.IO.FileStream

(sPathToWritePdfTo, System.IO.FileMode.OpenOrCreate)){ // create new instance of Pdfizer Pdfizer.HtmlToPdfConverter htmlToPdf = new Pdfizer.HtmlToPdfConverter(); // open stream to write Pdf to to htmlToPdf.Open(stream); // write the HTML to the component htmlToPdf.Run(sbHtml.ToString()); // close the write operation and complete the PDF file htmlToPdf.Close();}This component also supports PDF Chapters. You could add a single line of code right before the Run() method to make the HTML specified a single chapter like this:

// open stream to write Pdf to tohtmlToPdf.Open(stream); // add a chapter for this HTMLhtmlToPdf.AddChapter("My Chapter Title 1"); // write the HTML to the componenthtmlToPdf.Run(sbHtml.ToString());Repeat the AddChapter() and Run() methods for each chapter you want to add and then Close() to commit it to the PDF.

載地址

下載錯(cuò)誤?【投訴報(bào)錯(cuò)】

PDFizer 可以將html轉(zhuǎn)換成pdf格式文檔的工具

      氣軟件

      關(guān)文章

      • Flip PDF Plus Corporate(PDF電子書翻頁(yè)工具) v7.7.22 英文免費(fèi)安裝版

        Flip PDF Plus Corporate一款簡(jiǎn)單好用的PDF文件翻頁(yè)效果增強(qiáng)工具,可以將PDF或者圖片轉(zhuǎn)換成翻頁(yè)電子雜志,支持添加多媒體文件進(jìn)行PDF文件的轉(zhuǎn)換等操作等 ...

      • Readest(電子書閱讀器) v0.9.28 綠色免安裝版

        Readest綠色版是一款好用的電子書閱讀器,為追求沉浸式深度閱讀體驗(yàn)的用戶打造,支持多種電子書格式,包括EPUB、MOBI、AZW3和PDF等,歡迎下載體驗(yàn)...

      • Olib(免費(fèi)下載zlibrary書籍) v2.1.1 中文綠色永久免費(fèi)版

        Olib是一款可免費(fèi)高速下載zlibrary書籍的開源軟件,無(wú)任何次數(shù)限制,有了Olib再也不需要去找域名和鏡像網(wǎng)站了,Z-Library 號(hào)稱“全球最大的數(shù)字圖書館”和“全球最大的科學(xué)...

      • 潮汐閱讀 v14.4.2 官方安裝版

        潮汐閱讀官方最新版是一個(gè)簡(jiǎn)約優(yōu)美的小說(shuō)閱讀器,支持一鍵緩存、海量小說(shuō)免費(fèi)看、自定義排版、書架管理、平臺(tái)互通、小說(shuō)格式支持、閱讀樣式選擇、摸魚模式、自動(dòng)滾動(dòng)等多種...

      • Global Book 圖書閱讀器 v1.0.2 安裝免費(fèi)版

        Global Book旨在打造一個(gè)開放、免費(fèi)且非商業(yè)化的文學(xué)平臺(tái),讓每一位熱愛(ài)閱讀的用戶都能享受到無(wú)國(guó)界、無(wú)障礙的閱讀體驗(yàn),歡迎需要的朋友下載使用...

      • Adobe Acrobat Classic v2024.001.30213 x64 多語(yǔ)言直裝版

        Acrobat Classic 是 Acrobat 的最新非訂閱版本,僅限桌面使用。它簡(jiǎn)化了從桌面處理 PDF 時(shí)的日常 PDF 任務(wù),并且包含多項(xiàng)可提高工作效率的增強(qiáng)功能...

      載聲明

      ☉ 解壓密碼:chabaoo.cn 就是本站主域名,希望大家看清楚,[ 分享碼的獲取方法 ]可以參考這篇文章
      ☉ 推薦使用 [ 迅雷 ] 下載,使用 [ WinRAR v5 ] 以上版本解壓本站軟件。
      ☉ 如果這個(gè)軟件總是不能下載的請(qǐng)?jiān)谠u(píng)論中留言,我們會(huì)盡快修復(fù),謝謝!
      ☉ 下載本站資源,如果服務(wù)器暫不能下載請(qǐng)過(guò)一段時(shí)間重試!或者多試試幾個(gè)下載地址
      ☉ 如果遇到什么問(wèn)題,請(qǐng)?jiān)u論留言,我們定會(huì)解決問(wèn)題,謝謝大家支持!
      ☉ 本站提供的一些商業(yè)軟件是供學(xué)習(xí)研究之用,如用于商業(yè)用途,請(qǐng)購(gòu)買正版。
      ☉ 本站提供的PDFizer 可以將html轉(zhuǎn)換成pdf格式文檔的工具資源來(lái)源互聯(lián)網(wǎng),版權(quán)歸該下載資源的合法擁有者所有。