Printer.ScaleHeight = xxx
Printer.ScaleWidth = xxx
自己实际算一下xxx是多少吧
Printer.ScaleWidth = xxx
自己实际算一下xxx是多少吧
解决方案 »
- 如何设置窗体的背景音乐?
- 4.有一个英语单词保存在变量Word中,通过键盘输入一个字符串,判断该字符串是不是Word的子串,如果是则给出子串在Word中的起始位置,然后停止查找。例如Word="preposition",则sit就是Word的一个子串,其起始位置为6。(要求使用Do
- Is it possible to hide plotting data point marker on mschart ??
- 如何将歌词遣入到MP3中?
- 各位我在编译vb时,发现了一个奇怪的问题
- 数据库中字段类型与控件中内容类型的统一
- *****初学者三问
- 如何能使combo只能选择不能输入,又能设置初始combo1.text的值
- 我要用VB+ACCESS制作一个通讯录
- 如何搞定datareport的打印分頁(就是在某一列的值發生變化時就換頁)SOS!!!
- 缩放图像及图象上的label框
- 如何设置datagrid某列为计算列,其它列为可更新列
http://www.csdn.net/expert/topic/827/827272.xml?temp=.5918238
http://www.csdn.net/expert/topic/827/827272.xml?temp=.7585871
大家有没有注意到,我是用Access来打印的,不知VB的打印功能否实现。
Object Anobject expression that evaluates to an object in the Applies To list.
Value An integer specifying the unit of measurement, as described in Settings.
SettingsThe settings for value are:Constant Setting Description
vbUser 0 Indicates that one or more of the ScaleHeight, ScaleWidth, ScaleLeft, and ScaleTop properties are set to custom values.
vbTwips 1 (Default)Twip (1440 twips per logical inch; 567 twips per logical centimeter).
vbPoints 2 Point (72 points per logical inch).
vbPixels 3 Pixel (smallest unit of monitor or printer resolution).
vbCharacters 4 Character (horizontal = 120 twips per unit; vertical = 240 twips per unit).
vbInches 5 Inch.
vbMillimeters 6 Millimeter.
vbCentimeters 7 Centimeter.
vbHimetric 8 HiMetric
vbContainerPosition 9 Units used by the control's container to determine the control's position.
vbContainerSize 10 Units used by the control's container to determine the control's size.
ResUsing the related ScaleHeight, ScaleWidth, ScaleLeft, and ScaleTop properties, you can create a custom coordinate system with both positive and negative coordinates. These four Scale properties interact with the ScaleMode property in the following ways: Setting the value of any other Scale property to any value automatically sets ScaleMode to 0. A ScaleMode of 0 is user-defined.
Setting the ScaleMode property to a number greater than 0 changes ScaleHeight and ScaleWidth to the new unit of measurement and sets ScaleLeft and ScaleTop to 0. The CurrentX and CurrentY property settings change to reflect the new coordinates of the current point.