亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? preview.ctl

?? 自定報(bào)表組件
?? CTL
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.UserControl Preview 
   AutoRedraw      =   -1  'True
   CanGetFocus     =   0   'False
   ClientHeight    =   765
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   750
   ClipControls    =   0   'False
   InvisibleAtRuntime=   -1  'True
   ScaleHeight     =   765
   ScaleWidth      =   750
   ToolboxBitmap   =   "Preview.ctx":0000
   Begin MSComDlg.CommonDialog cdlPrinter 
      Left            =   270
      Top             =   240
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.Image imgPreview 
      Height          =   225
      Left            =   60
      Picture         =   "Preview.ctx":00FA
      Top             =   60
      Width           =   240
   End
End
Attribute VB_Name = "Preview"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit
Private Const ctlW As Long = 420
Private Const cVersion = "V1.6 May,14 1998"

Private Sub UserControl_Initialize()
  imgPreview.Move (ctlW - imgPreview.Width) / 2, (ctlW - imgPreview.Height) / 2
  UserControl.Line (0, 0)-(ctlW, ctlW), &HFFFFFF, B
  UserControl.Line (-15, -15)-(ctlW - 15, ctlW - 15), &H808080, B
  Size ctlW, ctlW
  gPaperSize = Printer.PaperSize
  gOrientation = Printer.Orientation
  gPreviewShow = True
  BarCodesOf39ExInit 0
End Sub

Private Sub UserControl_InitProperties()
  Caption = "打印預(yù)覽"
  PaperSize = Val(Printer.PaperSize)
  Orientation = Val(Printer.Orientation)
  PrinterType = 0
End Sub

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
  Caption = PropBag.ReadProperty("Caption", Extender.Name)
  NewDoc
End Sub

Private Sub UserControl_Resize()
  Size ctlW, ctlW
End Sub

Public Sub Preview()
  Dim W As Long
  Dim SS As Long
  On Error Resume Next
  W = Printer.ScaleWidth
  If Err > 0 Then
    cdlPrinter.Flags = cdlPDPrintSetup
    cdlPrinter.Action = 5
    Exit Sub
  End If
  If gPreviewPageCount = 0 Then
    MsgBox "沒有所需要的打印數(shù)據(jù),請查實(shí)!", 48
  Else
    SetMP 11
    frmPreview.Show vbModal
    SetMP 0
  End If
End Sub

Public Property Get Caption() As String
Attribute Caption.VB_ProcData.VB_Invoke_Property = ";外觀"
Attribute Caption.VB_UserMemId = -518
Attribute Caption.VB_MemberFlags = "200"
  Caption = gPreviewCaption
End Property

Public Property Let Caption(ByVal vNewValue As String)
  gPreviewCaption = vNewValue
  
  PropertyChanged "Caption"
End Property

Private Sub UserControl_Terminate()
  Dim FN As String
  
  On Error Resume Next
  FN = App.Path
  If Right(FN, 1) <> "\" Then FN = FN & "\"
  FN = FN & "PIC*.TMP"
  FN = Dir(FN)
  Do While Len(FN)
    Kill FN
    FN = Dir
  Loop
End Sub

Private Sub UserControl_WriteProperties(PropBag As PropertyBag)
  PropBag.WriteProperty "Caption", gPreviewCaption, Extender.Name
  PropBag.WriteProperty "Orientation", gOrientation, Extender.Name
  PropBag.WriteProperty "PaperSize", gPaperSize, Extender.Name
End Sub

Public Property Get Version() As String
  Version = cVersion
End Property

Public Property Let Version(ByVal vNewValue As String)

End Property

Private Sub AddPreviewCMD(CMD As String, Optional ByVal V1, Optional ByVal V2, Optional ByVal V3, Optional ByVal V4, Optional ByVal Msg)
  Dim N As Long
  
  If gPreviewPageCount < 0 Then
    NewPage
  End If
  
  With arrPreviewCMD(gPreviewCMDCount)
    .CMD = CMD
    If Not IsMissing(V1) Then .V1 = V1
    If Not IsMissing(V2) Then .V2 = V2
    If Not IsMissing(V3) Then .V3 = V3
    If Not IsMissing(V4) Then .V4 = V4
    If Not IsMissing(Msg) Then .Msg = Msg
  End With
  
  gPreviewCMDCount = gPreviewCMDCount + 1
  N = UBound(arrPreviewCMD)
  If gPreviewCMDCount > N Then
    ReDim Preserve arrPreviewCMD(N + 100)
  End If
End Sub

Public Sub EndDoc()
  '結(jié)束文檔
  NewPage
End Sub

Public Sub NewDoc(Optional ByVal Msg)
  '啟動(dòng)新文檔
  'Msg:頁標(biāo)題
  ReDim arrPreviewCMD(0)
  gPreviewCMDCount = 0
  
  gPreviewPageCount = -1
  NewPage Msg
  
  Dim X As Printer
  For Each X In Printers
     If X.Port = Printer.Port Then
        Set Printer = X
        Exit For
     End If
  Next

  gPaperSize = Printer.PaperSize
  gOrientation = Printer.Orientation
  
End Sub

Public Sub NewPage(Optional ByVal Msg)
  '新打印頁
  'Msg:頁標(biāo)題
  If IsMissing(Msg) Then Msg = ""
  
  gPreviewPageCount = gPreviewPageCount + 1
  ReDim Preserve arrPreviewPage(gPreviewPageCount)
  
  If gPreviewPageCount > 0 Then
    arrPreviewPage(gPreviewPageCount - 1).CMDEnd = gPreviewCMDCount - 1
  End If
  With arrPreviewPage(gPreviewPageCount)
    .Name = Msg
    .CMDStart = gPreviewCMDCount
    .CMDEnd = -1
  End With
  '初始化
  CellSize 1, 1
  ScaleLeft = 0
  ScaleTop = 0
  FontName = "宋體"
  FontSize = 9
  FontBold = False
  FontItalic = False
  FontStrikethru = False
  FontTransparent = True
  FontUnderline = False
  DrawMode = vbCopyPen
  DrawStyle = vbSolid
  DrawWidth = 1
  ForeColor = 0
  FillColor = 0
  FillStyle = vbFSTransparent
End Sub

Public Sub Arc(ByVal X As Single, ByVal Y As Single, ByVal Radius As Single, Optional ByVal StartDegree, Optional ByVal EndDegree, Optional ByVal Aspect)
  'Units:Cell Size
  Dim Msg As String
  
  If Not IsMissing(StartDegree) Then Msg = StartDegree
  Msg = Msg & ","
  If Not IsMissing(EndDegree) Then Msg = Msg & EndDegree
  Msg = Msg & ","
  If Not IsMissing(Aspect) Then Msg = Msg & Aspect
  
  AddPreviewCMD "Arc", X, Y, Radius, StartDegree, Msg
End Sub

Public Sub OutputBarCodeOf39Ex(ByVal L As Single, ByVal T As Single, ByVal W As Single, ByVal H As Single, ByVal BarCode As String)
  'Units:CellSize
  'Left,Top,Width,Height
  If gBarCodeType = 1 Then
    AddPreviewCMD "OutputBarCodeOf25", L, T, W, H, BarCode
  ElseIf gBarCodeType = 2 Then
    AddPreviewCMD "OutputBarCodeOf128", L, T, W, H, BarCode
  Else
    AddPreviewCMD "OutputBarCodeOf39Ex", L, T, W, H, BarCode
  End If
End Sub

Public Sub Box(ByVal L As Single, ByVal T As Single, ByVal W As Single, ByVal H As Single)
  'Units:CellSize
  'Left,Top,Width,Height
  AddPreviewCMD "Box", L, T, W, H
End Sub

Public Sub BoxLine(ByVal L As Single, ByVal T As Single, ByVal W As Single, ByVal H As Single)
  'Units:CellSize
  'Left,Top,Width,Height
  AddPreviewCMD "BoxLine", L, T, W, H
End Sub

Public Sub CellSize(ByVal W As Single, ByVal H As Single)
  'Units:mm
  'Width,Height
  AddPreviewCMD "CellSize", W, H
End Sub

Public Property Let DrawMode(ByVal vNewValue As Long)
  AddPreviewCMD "DrawMode", vNewValue
End Property

Public Property Let DrawStyle(ByVal vNewValue As Long)
  AddPreviewCMD "DrawStyle", vNewValue
End Property

Public Property Let DrawWidth(ByVal vNewValue As Long)
  AddPreviewCMD "DrawWidth", vNewValue
End Property

Public Property Let FillColor(ByVal vNewValue As Long)
  AddPreviewCMD "FillColor", vNewValue
End Property

Public Property Let FillStyle(ByVal vNewValue As Long)
  AddPreviewCMD "FillStyle", vNewValue
End Property

Public Property Let FontBold(ByVal vNewValue As Boolean)
  AddPreviewCMD "FontBold", vNewValue
End Property

Public Property Let FontItalic(ByVal vNewValue As Boolean)
  AddPreviewCMD "FontItalic", vNewValue
End Property

Public Property Let FontName(ByVal vNewValue As String)
  If Len(vNewValue) > 0 Then AddPreviewCMD "FontName", , , , , vNewValue
End Property

Public Property Let FontSize(ByVal vNewValue As Single)
  AddPreviewCMD "FontSize", vNewValue
End Property

Public Property Let FontStrikethrough(ByVal vNewValue As Boolean)
  AddPreviewCMD "FontStrikethrough", vNewValue
End Property

Public Property Let FontTransparent(ByVal vNewValue As Boolean)
  AddPreviewCMD "FontTransparent", vNewValue
End Property

Public Property Let FontUnderline(ByVal vNewValue As Boolean)
  AddPreviewCMD "FontUnderline", vNewValue
End Property

Public Property Let ForeColor(ByVal vNewValue As Long)
  AddPreviewCMD "ForeColor", vNewValue
End Property

Public Sub ShowGrid()
  AddPreviewCMD "ShowGrid"
End Sub

Public Sub LineH(ByVal X As Single, ByVal Y As Single, ByVal W As Single)
  'Units:CellSize
  'X,Y:left point
  'Width
  AddPreviewCMD "LineH", X, Y, W
End Sub

Public Sub LineU(ByVal X As Single, ByVal Y As Single, ByVal W As Single)
  'Line UnderLine by Chinese word
  'Units:CellSize
  'X,Y:left point
  'Width
  AddPreviewCMD "LineU", X, Y, W
End Sub

Public Sub LineV(ByVal X As Single, ByVal Y As Single, ByVal H As Single)
  'Units:CellSize
  'X,Y:top point
  'Height
  AddPreviewCMD "LineV", X, Y, H
End Sub

Public Sub LineW(ByVal X1 As Single, ByVal Y1 As Single, ByVal X2 As Single, ByVal Y2 As Single)
  'Wild line
  'Units:CellSize
  'X1,Y1:start point
  'X2,Y2:end point
  AddPreviewCMD "LineW", X1, Y1, X2, Y2
End Sub

Public Sub PaintPicture(pic As Picture, ByVal L As Single, ByVal T As Single, ByVal W As Single, ByVal H As Single)
  'pic:picture
  'Units:CellSize
  'Left,Top,Width,Height
  Dim FN As String
  
  FN = App.Path
  If Right(FN, 1) <> "\" Then FN = FN & "\"
  FN = FN & "PIC" & Format(gPreviewCMDCount, "00000") & ".TMP"
  
  On Error Resume Next
  Kill FN
  SavePicture pic, FN
  
  AddPreviewCMD "PaintPicture", L, T, W, H, FN
End Sub

Public Property Let PaperSize(ByVal vNewValue As Long)
  If (vNewValue > 0) And (vNewValue <= 256) Then
    gPaperSize = vNewValue
  End If
End Property
Public Property Get PaperSize() As Long
  PaperSize = gPaperSize
End Property

Public Property Let Orientation(ByVal vNewValue As Long)
  If (vNewValue = 1) Or (vNewValue = 2) Then
    gOrientation = vNewValue
  End If
End Property
Public Property Get Orientation() As Long
  Orientation = gOrientation
End Property


Public Sub PointSet(ByVal X As Single, ByVal Y As Single, Optional ByVal Color)
  Dim Msg As String
  
  If Not IsMissing(Color) Then Msg = Color
  AddPreviewCMD "PointSet", X, Y, , , Msg
End Sub

Public Property Let ScaleLeft(ByVal vNewValue As Single)
  'Units:mm
  AddPreviewCMD "ScaleLeft", vNewValue
End Property

Public Property Let ScaleTop(ByVal vNewValue As Single)
  'Units:mm
  AddPreviewCMD "ScaleTop", vNewValue
End Property

Public Sub TextC(ByVal X As Single, ByVal Y As Single, ByVal Msg As String)
  'Alignment:center
  'Units:CellSize
  'X,Y:center point
  'Msg
  AddPreviewCMD "TextC", X, Y, , , Msg
End Sub

Public Sub TextE(ByVal X As Single, ByVal Y As Single, ByVal W As Single, ByVal Msg As String)
  'equal distance
  'Units:CellSize
  'X,Y:left center point
  'Width
  'Msg
  AddPreviewCMD "TextE", X, Y, W, , Msg
End Sub

Public Sub TextL(ByVal X As Single, ByVal Y As Single, ByVal Msg As String)
  'Alignment:Left
  'Units:CellSize
  'X,Y:Left center point
  'Msg
  AddPreviewCMD "TextL", X, Y, , , Msg
End Sub

Public Sub TextR(ByVal X As Single, ByVal Y As Single, ByVal Msg As String)
  'Alignment:Right
  'Units:CellSize
  'X,Y:right center point
  'Msg
  AddPreviewCMD "TextR", X, Y, , , Msg
End Sub

Public Sub TextVE(ByVal X As Single, ByVal Y As Single, ByVal H As Single, ByVal Msg As String)
  AddPreviewCMD "TextVE", X, Y, H, , Msg
End Sub

Public Property Let PreviewShow(ByVal vNewValue As Boolean)
  gPreviewShow = vNewValue
End Property

Public Property Get BackColor() As Variant
  
End Property

Public Property Let BackColor(ByVal vNewValue As Variant)
  AddPreviewCMD "BackColor", vNewValue
End Property

Public Property Let Width(ByVal vNewValue As Variant)
  AddPreviewCMD "ScaleWidth", vNewValue
  gWidth = vNewValue
End Property

Public Property Let Height(ByVal vNewValue As Variant)
  AddPreviewCMD "ScaleHeight", vNewValue
  gHeight = vNewValue
End Property
Public Property Let BarCodeType(ByVal vNewValue As Variant)
  AddPreviewCMD "BarCodeType", vNewValue
  gBarCodeType = vNewValue
End Property
Public Property Let PrinterType(ByVal vNewValue As Long)
  On Error Resume Next
  Set Printer = Printers(vNewValue)
  gPrinterType = vNewValue
End Property

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美伦理视频网站| 国产日韩高清在线| 欧洲av在线精品| 国产精品中文有码| 日韩国产精品大片| 亚洲精品视频在线| 国产精品视频你懂的| 精品久久国产字幕高潮| 欧美日韩高清影院| 色狠狠一区二区三区香蕉| 国产成人免费视| 国产中文一区二区三区| 日本中文在线一区| 亚洲一区二区av在线| 成人免费在线视频观看| 中文字幕成人在线观看| 国产调教视频一区| 久久久一区二区| 久久一留热品黄| 久久久久久免费| 粉嫩av一区二区三区| 国产精品资源在线看| 久久成人久久爱| 麻豆91在线观看| 精品一区二区三区免费| 激情丁香综合五月| 国产一区二区三区电影在线观看| 日韩av二区在线播放| 日韩av一级片| 久久91精品国产91久久小草 | 欧洲在线/亚洲| 在线精品视频一区二区三四| 在线视频综合导航| 国产成人丝袜美腿| 国产成人精品影视| 97久久精品人人爽人人爽蜜臀| 91原创在线视频| 欧美日韩中文国产| 91精选在线观看| 久久奇米777| 亚洲同性同志一二三专区| 一区二区三区精品| 男女激情视频一区| 国产大陆a不卡| 99热精品国产| 6080国产精品一区二区| 2024国产精品| 一区二区三区精品在线| 久久精品国产在热久久| 99久久99久久久精品齐齐| 欧美福利视频导航| 久久无码av三级| 依依成人综合视频| 国产精品 欧美精品| 欧美性色综合网| 日本一区免费视频| 日韩中文字幕亚洲一区二区va在线| 国产毛片精品视频| 在线观看免费视频综合| 国产网站一区二区| 日产精品久久久久久久性色| 国产91露脸合集magnet| 777xxx欧美| 亚洲综合丝袜美腿| av在线不卡观看免费观看| 欧美一区二区免费视频| 亚洲欧美一区二区三区极速播放| 蜜桃精品视频在线观看| 91国偷自产一区二区开放时间 | 色欲综合视频天天天| 一本色道综合亚洲| 欧美三级资源在线| 国产精品福利一区| 国产乱人伦精品一区二区在线观看| 精品视频在线免费看| 亚洲婷婷在线视频| 岛国av在线一区| 久久色中文字幕| 韩国av一区二区三区在线观看| 欧美视频你懂的| 亚洲va欧美va人人爽午夜| 一本一本大道香蕉久在线精品| 国产精品护士白丝一区av| 国产成人午夜高潮毛片| 中文字幕欧美国产| 成人h动漫精品一区二| 欧美精品一区男女天堂| 国内外成人在线| 久久色在线视频| 成人性色生活片免费看爆迷你毛片| 26uuu色噜噜精品一区二区| 极品瑜伽女神91| 国产日韩欧美激情| 成人午夜大片免费观看| 国产精品美女久久久久久久久| 成人免费看黄yyy456| 国产精品日产欧美久久久久| 丁香一区二区三区| 亚洲欧美中日韩| 欧美久久久久久久久| 蜜桃传媒麻豆第一区在线观看| 26uuu另类欧美| 波多野结衣中文字幕一区 | 日韩欧美一级片| 国产另类ts人妖一区二区| 欧美国产一区在线| 91理论电影在线观看| 丝袜美腿亚洲色图| 久久精品夜色噜噜亚洲aⅴ| 99久久婷婷国产综合精品| 亚洲电影欧美电影有声小说| 欧美一区二区不卡视频| 国产成人精品亚洲777人妖| 樱桃视频在线观看一区| 91亚洲精品久久久蜜桃| 亚洲欧美经典视频| 91精品国产91久久久久久一区二区 | 亚洲综合色婷婷| 久久免费偷拍视频| 欧洲日韩一区二区三区| 国内精品久久久久影院一蜜桃| 国产精品看片你懂得| 91麻豆精品国产91久久久资源速度 | 国产精品久久久久影院亚瑟 | 成人av影视在线观看| 男男成人高潮片免费网站| 国产精品系列在线| 日韩视频在线观看一区二区| 色婷婷av一区二区三区大白胸| 激情综合色综合久久综合| 五月婷婷综合网| 中文字幕一区日韩精品欧美| 欧美videos中文字幕| 精品视频在线免费看| 色视频欧美一区二区三区| 成人免费va视频| 国产91精品露脸国语对白| 蜜桃传媒麻豆第一区在线观看| 亚洲国产欧美在线| 亚洲欧美激情插| 亚洲视频中文字幕| 中文字幕av不卡| 日本一区二区免费在线| www久久精品| 欧美精品一区二区三区一线天视频| 欧美视频一区二区三区四区| 91黄色免费看| 欧美日韩激情在线| 欧美日韩国产天堂| 欧美日韩的一区二区| 欧美日韩亚洲综合在线 | 亚洲欧美一区二区三区孕妇| 国产精品女主播av| 精品久久人人做人人爱| 91精品福利视频| 91麻豆精东视频| 色噜噜偷拍精品综合在线| 91福利国产精品| 色婷婷久久久久swag精品| 91福利在线播放| 欧美系列一区二区| 欧美日韩美少妇| 日韩欧美一区在线观看| 欧美成人aa大片| 国产午夜精品久久久久久免费视| 久久久久久久性| 亚洲天堂2016| 午夜精品福利一区二区蜜股av | 日韩欧美国产一区二区三区| 精品国产污污免费网站入口| 久久奇米777| 一区二区三区免费网站| 美女mm1313爽爽久久久蜜臀| 国产精品一区二区久久精品爱涩| 91视频精品在这里| 69久久夜色精品国产69蝌蚪网| 久久老女人爱爱| 亚洲国产成人av网| 国产精品一二一区| 欧洲生活片亚洲生活在线观看| 欧美成人猛片aaaaaaa| 中文字幕字幕中文在线中不卡视频| 日韩中文字幕亚洲一区二区va在线 | 精品视频一区三区九区| 久久久国产精华| 亚洲成人免费av| proumb性欧美在线观看| 欧美一区二区女人| 亚洲免费av高清| 国产伦精品一区二区三区免费| 在线看国产一区二区| 日本一区二区三区在线不卡| 首页综合国产亚洲丝袜| 色综合久久久久久久| 久久夜色精品国产噜噜av| 婷婷国产v国产偷v亚洲高清| 91伊人久久大香线蕉| 欧美激情一区二区三区四区| 日韩 欧美一区二区三区| 在线观看日韩av先锋影音电影院|