19008.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 29 行

HTML
29
字号
<html>  <head>    <title>Re: 请问printer的物件要印之前能产生预览吗??</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>Re: 请问printer的物件要印之前能产生预览吗??</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by 琏琏 on September 16, 1999 at 17:24:49:<p>In Reply to: <a href="19003.html">Re: 请问printer的物件要印之前能产生预览吗??</a> posted by Joint on September 16, 1999 at 15:17:04:<p><center><img src="http://feitsui.hyd.ncku.edu.tw/TLCheng/Basic/logo.gif"></center><p>: 您是说产生一个文字档还是其它方法??<br>: 您就行行好,多告诉我一些啦!!<br>: 因为完全不晓得怎么做,所以才只问能不能...<br>: 请仁兄告诉我大概用什么指令,谢谢您!!<p>要预览列印的话, 在 vb 中没有现成的物件, 方法可以用... 所以是透过 PictureBox 来做!!<br>对于图形来说, 可以在印出前将 Printer 的图 Copy 进 PictureBox 看, 或直接出图在 PictureBox 上, 要列印时在将图 Copy 到印表机...<br>对于文字只有直接出图在 PictureBox 上, 要列印时在将图 Copy 到印表机...<p>没用啥特别的指令, 只有 PictureBox 及 Printer 等物件的部分!!<p>MSDN 中有一篇 "A Print Preview Program for Visual Basic" 可以参考, 我为了列印这篇参考, 把他重新排版, 并且转载在我的网页中, 你可以参考<p>ps. 可以这么说, 想要做到预览列印功能, 要先有心理准备, 决不是三两下轻松解决的, 难是不难, 只是很多琐碎的部分要处理<br><br><ul><li><a href="http://feitsui.hyd.ncku.edu.tw/TLCheng/Basic/index.htm">培基语言</a></ul><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 19008--><!--top: 19014--><li><a href="19014.html">Re: 请问printer的物件要印之前能产生预览吗??</a> <b>Joint</b> <i>18:20:04 9/16/99</i>(<!--responses: 19014-->0)<ul><!--insert: 19014--></ul><!--end: 19014--></ul><!--end: 19008--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?