iStylePDF vb版樣本

來源:互聯網
上載者:User

標籤:general   閱讀器      程式      

談到VB版本的整合開發,其實和C#版本差不多,可能有些童鞋沒用過VB,下面我就簡單的做個樣本示範下如何在VB環境下整合iStylePDF閱讀器控制項。

1、開啟VB開發工具,建立一個標準的EXE程式,:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/44/13/wKiom1PfKVuiphNcAAHEnZlGrXM560.jpg" title="VB1.jpg" alt="wKiom1PfKVuiphNcAAHEnZlGrXM560.jpg" />

2、在General面板上右鍵菜單,選擇組件,彈出組件選擇框,:


 650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/44/13/wKioL1PfKoaQI9oLAAG857PY-xA441.jpg" title="VB2.jpg" alt="wKioL1PfKoaQI9oLAAG857PY-xA441.jpg" />

3、把新添加的控制項拖放到Form上,一個標準的PDF閱讀控制項就放置在了From上,我們可以調用很多豐富的介面來操作PDF了。

部分代碼如下:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/44/14/wKioL1PfKpKzW3lbAAId1BL_nLo451.jpg" title="VB3.jpg" alt="wKioL1PfKpKzW3lbAAId1BL_nLo451.jpg" />

如下:


 650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/44/14/wKioL1PfKqaxkSjqAALyV14eV7k157.jpg" title="VB4.jpg" alt="wKioL1PfKqaxkSjqAALyV14eV7k157.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/44/14/wKioL1PfKrGRDMo9AARABulbabk668.jpg" title="VB5.jpg" alt="wKioL1PfKrGRDMo9AARABulbabk668.jpg" />



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.