1.将画的东西直接画到FROM上,方法与PICTUREBOX一样
2.屏莫打印时,看看屏幕中是否显示图片,打印前刷新一次

解决方案 »

  1.   

    画到FORM上,我试过,可以画,不过不方便我以后的操作,如根据所画的图象来给另一个控件定位。PICTUREBOX里没有图片,只有用户自己所画的图案。
      

  2.   

    我的没问题
    VERSION 5.00
    Begin VB.Form Form1 
       Caption         =   "Form1"
       ClientHeight    =   3195
       ClientLeft      =   60
       ClientTop       =   345
       ClientWidth     =   4680
       LinkTopic       =   "Form1"
       ScaleHeight     =   3195
       ScaleWidth      =   4680
       StartUpPosition =   3  'Windows Default
       Begin VB.CommandButton Command1 
          Caption         =   "Command1"
          Height          =   495
          Left            =   1755
          TabIndex        =   1
          Top             =   2385
          Width           =   1215
       End
       Begin VB.PictureBox Picture1 
          AutoRedraw      =   -1  'True
          Height          =   1515
          Left            =   750
          ScaleHeight     =   1455
          ScaleWidth      =   2670
          TabIndex        =   0
          Top             =   420
          Width           =   2730
       End
    End
    Attribute VB_Name = "Form1"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = False
    Attribute VB_PredeclaredId = True
    Attribute VB_Exposed = False
    Option ExplicitPrivate Sub Command1_Click()
      Me.Picture1.Line (10, 10)-(1000, 1000)
      Me.PrintForm
    End Sub
      

  3.   

    在画之前Picture.AutoRedraw = TRUE
    画好之后Picture.AutoRedraw = FASEL
      

  4.   

    画好以后,我将AUTOREDRAW改为FALSE,还是没有用,请大家帮帮忙啊!谢谢了!
      

  5.   

    既然花在FORM中可以打印,那么你用代码实现,在打印时输出到FOMR中,完毕后,对FORM请空就行了啥