Visual Basic打印代码 [英] Visual Basic Printing Codes

查看:109
本文介绍了Visual Basic打印代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我想知道什么代码可以使我的应用程序使用打印机进行打印?
因为我设法添加了工具,但没有设法添加代码:S

Hey every body!
I was wondering what are the codes that will let my application print using the printer?
cuz i managed to add the tools but didn''t manege to add the codes :S
any one can help please?

推荐答案

取决于您要打印的内容,但是请发布一些代码以向我们提供有关需要帮助的线索.

这可能会有所帮助. [
Depends on what you are attempting to print, but post some code to give us a clue as to where you need help.

This may help.[^]


,您是说在表单上添加了诸如PrintDocument,PrintPreviewControl,PrintDialog等之类的内容吗?
如果是这样的话,那么只需在Google每个控件上搜索以查看如何使用它即可.
例如:
VB PrintDialog [ ^ ]
so are you saying that on your form, you added things like the PrintDocument, PrintPreviewControl, PrintDialog, etc...?

Cause if so, then just google each control to see how to use it.
As an example:
VB PrintDialog[^]


如果我在文本框中有文本并且想要将其打印在纸上,那么代码是什么?
if i have text in a text box and i want to print it on a paper, what are the codes for that?


这篇关于Visual Basic打印代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆