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

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

?? cmultipgpreview.cls

?? 打印預(yù)覽程序
?? CLS
?? 第 1 頁 / 共 4 頁
字號:
        FontSize = ObjPrint.FontSize
    End If
End Property

Public Property Let ForeColor(NewColor As Long)
    If PrintFlag Then
        Printer.ForeColor = NewColor
    Else
        ObjPrint.ForeColor = NewColor
    End If
End Property

Public Property Get ForeColor() As Long
    If PrintFlag Then
        ForeColor = Printer.ForeColor
    Else
        ForeColor = ObjPrint.ForeColor
    End If
End Property

Public Sub pLine(Optional ByVal LeftMargin As Single = -1, _
                 Optional ByVal RightMargin As Single = -1, _
                 Optional ByVal LineWidth As Integer = 1, _
                 Optional IncludeSpace As Boolean = True)
  
  Dim eDrawWidth As Integer, cY As Single, cX As Single
    
    Select Case oScaleMode
    Case vbCentimeters
        cY = 0.07
    Case Else 'vbinches
        cY = 0.03
    End Select
    
    If LeftMargin = -1 Then LeftMargin = CurrentX
    If IncludeSpace Then CurrentY = CurrentY + cY

    If LineWidth > 0 Then
        eDrawWidth = DrawWidth
        DrawWidth = LineWidth
    End If
    
    If PrintFlag Then
        cX = Printer.CurrentX
        If RightMargin <= LeftMargin Then RightMargin = PgWidth
        Printer.Line (LeftMargin, Printer.CurrentY)-(RightMargin, Printer.CurrentY)
        Printer.CurrentX = cX
    Else
        cX = ObjPrint.CurrentX
        If RightMargin <= LeftMargin Then RightMargin = PgWidth
        ObjPrint.Line (LeftMargin, ObjPrint.CurrentY)-(RightMargin, ObjPrint.CurrentY)
        ObjPrint.CurrentX = cX
    End If
    
    If LineWidth > 0 Then DrawWidth = eDrawWidth
    If IncludeSpace Then CurrentY = CurrentY + cY

End Sub

Public Sub pNewPage()

    On Local Error Resume Next
    If PrintFlag Then
        Printer.NewPage
    Else
        SavePicture ObjPrint.Image, TempDir & "PPview" & CStr(PageNumber) & ".bmp"
        ObjPrint.Cls
        PageNumber = PageNumber + 1
    End If
End Sub

Public Sub pPrint(Optional ByVal PrintVar As String = vbNullString, _
                  Optional ByVal LeftMargin As Single = -1, _
                  Optional SameLine As Boolean = False)

    If PrintVar = vbNullString Then
        '/* Empty String */
    Else
        If LeftMargin = -1 Then LeftMargin = CurrentX
        If (GetTextWidth(PrintVar) + LeftMargin > PgWidth) Or _
           InStr(PrintVar, vbCr) Or InStr(PrintVar, vbLf) Then
           
            pMultiline PrintVar, LeftMargin, PgWidth - 0.1, , SameLine
            Exit Sub
        End If
    End If
    
    If LeftMargin >= 0 Then CurrentX = LeftMargin
    
    If SameLine Then
        If PrintFlag Then
            Printer.Print PrintVar;
        Else
            ObjPrint.Print PrintVar;
        End If
    Else
        If PrintFlag Then
            Printer.Print PrintVar
        Else
            ObjPrint.Print PrintVar
        End If
    End If

End Sub

Public Sub pPrintedDate(Optional PrintCentered As Boolean = False, _
                        Optional ByVal LeftMargin As Single = -1, _
                        Optional SameLine As Boolean = False)
  
  Dim PrintVar As String
  Dim FSize As Integer, FBold As Boolean, FItalic As Boolean
  Dim FUnderline As Boolean, FStrikethru As Boolean
  
    FSize = FontSize
    FBold = FontBold
    FItalic = FontItalic
    FUnderline = FontUnderline
    FStrikethru = FontStrikethru
    
    FontSize = 9
    FontBold = False
    FontUnderline = False
    FontItalic = False
    FontStrikethru = False
    PrintVar = "Printed: " & Format(Now, "ddd. mmm. d, yyyy \@ h:mm ampm")
    
    If PrintCentered Then
        pCenter PrintVar, SameLine
    Else
        pPrint PrintVar, LeftMargin, SameLine
    End If
    
    FontSize = FSize
    FontBold = FBold
    FontItalic = FItalic
    FontUnderline = FUnderline
    FontStrikethru = FStrikethru

End Sub

Public Sub pStartDoc()

    PageNumber = 0
    TempDir = Environ("TEMP") & "\"
    
    On Local Error Resume Next
    
    '/* Set the Printer's scale mode
    pSM = Printer.ScaleMode
    Printer.ScaleMode = oScaleMode
    
    '/* Get the physical printable area
    PgWidth = Printer.ScaleWidth
    PgHeight = Printer.ScaleHeight
    
    If PrintFlag Then
        '/* Initialize printer
        Printer.Print "";
    Else
        '/* Initialize the preview object
        Load frmMultiPgPreview
        Set ObjPrint = frmMultiPgPreview!Picture1
        
        '/* Scale Object to Printer's printable area
        oSM = ObjPrint.ScaleMode
        ObjPrint.ScaleMode = oScaleMode
        
        '/* Full Page size (1440 twips = 1 inch or 567 twips = 1 centimeter)
        Select Case oScaleMode
        Case vbCentimeters
            ObjPrint.Width = (PgWidth + 0.6) * 567
            ObjPrint.Height = (PgHeight + 0.6) * 567
        Case Else 'vbinches
            ObjPrint.Width = (PgWidth + 0.25) * 1440
            ObjPrint.Height = (PgHeight + 0.25) * 1440
        End Select
        
        '/* Set default properties of the scroll bars
        frmMultiPgPreview!VScroll1.Max = Val(ObjPrint.Height * 0.5)
        frmMultiPgPreview!VScroll1.Min = -500
        frmMultiPgPreview!VScroll1.SmallChange = Val(frmMultiPgPreview!VScroll1.Max * 0.1)
        frmMultiPgPreview!VScroll1.LargeChange = Val(frmMultiPgPreview!VScroll1.Max * 0.5)
         
        frmMultiPgPreview!HScroll1.Max = Val(ObjPrint.Width * 0.25)
        frmMultiPgPreview!HScroll1.Min = -500
        frmMultiPgPreview!HScroll1.SmallChange = Val(frmMultiPgPreview!HScroll1.Max * 0.1)
        frmMultiPgPreview!HScroll1.LargeChange = Val(frmMultiPgPreview!HScroll1.Max * 0.5)
         
        '/* Set default properties of the object to match printer
        ObjPrint.Scale (0, 0)-(PgWidth, PgHeight)
        ObjPrint.FontName = Printer.FontName
        ObjPrint.FontSize = Printer.FontSize
        ObjPrint.ForeColor = Printer.ForeColor
        ObjPrint.Picture = Nothing
        
    End If

End Sub

Public Property Let FontBold(YesNo As Boolean)
    If PrintFlag Then
        Printer.FontBold = YesNo
    Else
        ObjPrint.FontBold = YesNo
    End If
End Property

Public Property Get FontBold() As Boolean
    If PrintFlag Then
        FontBold = Printer.FontBold
    Else
        FontBold = ObjPrint.FontBold
    End If
End Property

Public Property Let FontItalic(YesNo As Boolean)
    If PrintFlag Then
        Printer.FontItalic = YesNo
    Else
        ObjPrint.FontItalic = YesNo
    End If
End Property

Public Property Get FontItalic() As Boolean
    If PrintFlag Then
        FontItalic = Printer.FontItalic
    Else
        FontItalic = ObjPrint.FontItalic
    End If
End Property

Public Function pEndOfPage(Optional ByVal Less As Single = 0, Optional SaveRoomForFooter As Boolean = True) As Boolean
  Dim n As Single
  Dim fTextHeight As Single
  Dim eFontSize As Integer
    
    If PrintFlag Then
        '/* Make sure there is room for the footer
        fTextHeight = Printer.TextHeight("TextString")
        If SaveRoomForFooter Then
            eFontSize = Printer.FontSize
            Printer.FontSize = 10
            fTextHeight = Printer.TextHeight("TextString") * 2
            Printer.FontSize = eFontSize
        End If
        n = Printer.CurrentY + Printer.TextHeight("TextString") + fTextHeight + Less
    Else
        '/* Make sure there is room for the footer
        fTextHeight = ObjPrint.TextHeight("TextString")
        If SaveRoomForFooter Then
            eFontSize = ObjPrint.FontSize
            ObjPrint.FontSize = 10
            fTextHeight = ObjPrint.TextHeight("TextString") * 2
            ObjPrint.FontSize = eFontSize
        End If
        n = ObjPrint.CurrentY + ObjPrint.TextHeight("TextString") + fTextHeight + Less
    End If
    
    If n >= PgHeight Then
        pEndOfPage = True
    Else
        pEndOfPage = False
    End If
    
End Function

Public Property Let FontUnderline(YesNo As Boolean)
    If PrintFlag Then
        Printer.FontUnderline = YesNo
    Else
        ObjPrint.FontUnderline = YesNo
    End If
End Property

Public Property Get FontUnderline() As Boolean
    If PrintFlag Then
        FontUnderline = Printer.FontUnderline
    Else
        FontUnderline = ObjPrint.FontUnderline
    End If
End Property

Public Sub pHalfSpace()
  Dim eFont As Integer
  Dim hFont As Integer
 
    eFont = FontSize
    hFont = eFont \ 2
    If hFont < 1 Then hFont = 1
    FontSize = hFont
    pPrint
    FontSize = eFont
    
End Sub

Public Sub pDoubleLine(Optional ByVal LeftPos As Single = 0, _
                       Optional ByVal RightPos As Single = -1, _
                       Optional ByVal LineWidth As Integer = 1, _
                       Optional IncludeSpace As Boolean = True)
 
  Dim eFont As Integer, eDrawWidth As Integer
  Dim cY As Single, cX As Single
   
    cX = CurrentX
    Select Case oScaleMode
    Case vbCentimeters
        cY = 0.07
    Case Else 'vbinches
        cY = 0.03
    End Select
    
    eDrawWidth = DrawWidth
    If LineWidth > 0 Then DrawWidth = LineWidth
    'If IncludeSpace Then CurrentY = CurrentY + cY
    
    If PrintFlag Then
        cX = Printer.CurrentX
        If RightPos <= LeftPos Then RightPos = PgWidth
        Printer.CurrentY = Printer.CurrentY + cY
        Printer.Line (LeftPos, Printer.CurrentY)-(RightPos, Printer.CurrentY)
        Printer.CurrentY = Printer.CurrentY + cY
        Printer.Line (LeftPos, Printer.CurrentY)-(RightPos, Printer.CurrentY)
        Printer.CurrentY = Printer.CurrentY + cY
        Printer.CurrentX = cX
    Else
        cX = ObjPrint.CurrentX
        If RightPos <= LeftPos Then RightPos = PgWidth
        ObjPrint.CurrentY = ObjPrint.CurrentY + cY
        ObjPrint.Line (LeftPos, ObjPrint.CurrentY)-(RightPos, ObjPrint.CurrentY)
        ObjPrint.CurrentY = ObjPrint.CurrentY + cY
        ObjPrint.Line (LeftPos, ObjPrint.CurrentY)-(RightPos, ObjPrint.CurrentY)
        ObjPrint.CurrentY = ObjPrint.CurrentY + cY
        ObjPrint.CurrentX = cX
    End If
    
    If LineWidth > 0 Then DrawWidth = eDrawWidth
    If IncludeSpace Then CurrentY = CurrentY + cY

End Sub

Public Sub pVerticalLine(Optional ByVal LeftPos As Single = -1, _
                         Optional ByVal TopPos As Single = -1, _
                         Optional ByVal BottomPos As Single = -1, _
                         Optional ByVal LineWidth As Integer = 0)
 
  Dim eDrawWidth As Integer, cY As Single, cX As Single, tH As Single
  Dim eFontSize As Integer
   
    eDrawWidth = DrawWidth
    cX = CurrentX
    cY = CurrentY
    If LineWidth > 0 Then DrawWidth = LineWidth
    
    If BottomPos = -1 Then
        eFontSize = FontSize
        FontSize = 10
        BottomPos = PgHeight - (GetTextHeight * 2)
        FontSize = eFontSize
    End If
    
    If LeftPos = -1 Then LeftPos = CurrentX
    If LeftPos > PgWidth Then LeftPos = PgWidth - 0.01
    If TopPos = -1 Then TopPos = CurrentY

    If PrintFlag Then
        Printer.Line (LeftPos, TopPos)-(LeftPos, BottomPos)
    Else
        ObjPrint.Line (LeftPos, TopPos)-(LeftPos, BottomPos)
    End If
    
    CurrentX = cX
    CurrentY = cY
    
    If LineWidth > 0 Then DrawWidth = eDrawWidth
End Sub

Public Sub pSpaces(Optional ByVal RightMargin As Single = -1, _
                   Optional ByVal LeftMargin As Single = -1, _
                   Optional UseSymbol As Boolean = False)
  
  Dim xFontname As String
  Dim xForeColor As Long
  Dim tString As String
    
    xFontname = FontName
    xForeColor = ForeColor
    
    If LeftMargin <> -1 Then CurrentX = LeftMargin
    If RightMargin = -1 Then RightMargin = PgWidth
    
    If UseSymbol Then
        FontName = "Symbol"
        tString = "\"
        ForeColor = vbGreen
    Else
        tString = " "
    End If
    
    If CurrentX >= RightMargin Then GoTo ExitSpaceSub
    Do
        pPrint tString, , True
    Loop Until CurrentX >= RightMargin
    
ExitSpaceSub:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品精品国产自在97香蕉 | 免费观看成人av| 欧美色视频在线观看| 亚洲一二三四在线| 91麻豆精品国产91久久久久| 日精品一区二区| 精品国产伦一区二区三区观看方式| 久久99精品一区二区三区三区| 日本一区二区视频在线观看| 粉嫩欧美一区二区三区高清影视| 精品国内片67194| 亚洲成人www| 国产精品久久夜| 久久嫩草精品久久久久| 欧美日韩国产综合久久| 91老司机福利 在线| 国产成人免费av在线| 美女一区二区视频| 视频一区二区三区在线| 亚洲福利视频三区| 一区二区三区四区乱视频| 中文字幕在线不卡一区二区三区| 久久久久国产精品免费免费搜索| 日韩欧美不卡在线观看视频| 欧美欧美欧美欧美首页| 欧美日韩精品是欧美日韩精品| 91亚洲永久精品| 91麻豆免费看片| proumb性欧美在线观看| 成人18视频在线播放| 国产成人综合自拍| 国产成人夜色高潮福利影视| 狠狠色综合日日| 久久精品噜噜噜成人88aⅴ| 天堂蜜桃一区二区三区 | 欧美一区二区三区四区高清 | 欧美午夜精品免费| 色www精品视频在线观看| 91女厕偷拍女厕偷拍高清| 色综合久久久久久久久久久| 成人av网站在线| 99在线精品视频| 色哟哟国产精品| 91国产视频在线观看| 欧美伊人久久久久久久久影院| 欧美影视一区在线| 欧美日韩视频在线第一区| 欧美三级韩国三级日本一级| 欧美卡1卡2卡| 日韩视频免费观看高清完整版| 日韩欧美国产1| 久久久久久综合| 国产精品毛片久久久久久久| 亚洲精品中文在线| 亚洲午夜激情网页| 日本午夜一区二区| 国产精品资源网站| proumb性欧美在线观看| 欧美日韩一区二区在线视频| 8x福利精品第一导航| 欧美xxxx老人做受| 国产精品免费观看视频| 亚洲免费观看高清在线观看| 亚洲国产日韩在线一区模特| 人禽交欧美网站| 丰满放荡岳乱妇91ww| 在线视频欧美区| 欧美成人r级一区二区三区| 国产网站一区二区| 日韩久久久精品| 国产精品美女一区二区三区| 亚洲一线二线三线视频| 蜜桃视频在线一区| aa级大片欧美| 日韩午夜三级在线| 国产精品视频第一区| 日日嗨av一区二区三区四区| 国产99精品国产| 欧美日韩www| 国产欧美日韩三级| 亚洲一卡二卡三卡四卡| 国产美女精品在线| 欧美日韩亚洲综合一区二区三区| 久久久久国产精品人| 亚洲综合一二区| 国模无码大尺度一区二区三区| 色婷婷亚洲综合| 久久综合给合久久狠狠狠97色69| 亚洲精选免费视频| 国产馆精品极品| 欧美日韩五月天| 国产精品久久久久久久久免费相片 | 麻豆久久一区二区| av日韩在线网站| 精品99久久久久久| 天天综合天天做天天综合| 9色porny自拍视频一区二区| 日韩精品一区二区在线观看| 亚洲精品久久久蜜桃| 狠狠狠色丁香婷婷综合激情| 欧美日韩一区二区电影| 国产精品理论在线观看| 久久69国产一区二区蜜臀| 欧洲色大大久久| 亚洲欧洲成人av每日更新| 老司机免费视频一区二区 | 国产精品视频看| 精品无码三级在线观看视频| 欧美视频一二三区| 一区在线观看视频| 国产经典欧美精品| 亚洲精品一区二区三区福利| 视频一区二区国产| 欧美午夜电影网| 亚洲美女区一区| 免费精品视频在线| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲精品免费一二三区| 成人网在线免费视频| 欧美日韩不卡在线| 欧美激情在线一区二区三区| 在线观看亚洲一区| 日本成人在线电影网| 精品国产麻豆免费人成网站| 亚洲一区二区三区视频在线播放| 欧美一区二区三区播放老司机| 奇米888四色在线精品| 99re8在线精品视频免费播放| 91麻豆免费在线观看| 美女视频网站久久| 五月天亚洲婷婷| 欧美日韩精品三区| 亚洲成av人在线观看| 精品1区2区3区| 亚洲1区2区3区视频| 欧美性生活久久| 亚洲综合在线第一页| 欧美体内she精高潮| 亚洲午夜精品一区二区三区他趣| 一本色道久久综合狠狠躁的推荐| 亚洲色欲色欲www| 成人久久18免费网站麻豆| 中文字幕一区在线观看| 色婷婷综合久久| 亚洲成a人在线观看| 正在播放亚洲一区| 精品在线播放免费| 久久蜜桃一区二区| 成人一级黄色片| 亚洲视频一二三区| 欧美午夜不卡视频| 日本sm残虐另类| 久久久天堂av| 91网站在线播放| 亚洲一区二区三区国产| 日韩欧美一级精品久久| 国产1区2区3区精品美女| 亚洲天堂免费看| 6080日韩午夜伦伦午夜伦| 免费看欧美美女黄的网站| 国产网红主播福利一区二区| aaa欧美色吧激情视频| 亚洲综合男人的天堂| 日韩欧美国产一区二区在线播放| 国产黄人亚洲片| 亚洲一区二区欧美日韩| 国产中文一区二区三区| 精品国产精品一区二区夜夜嗨| 久久99精品国产麻豆婷婷洗澡| 国产日韩成人精品| 在线免费观看不卡av| 麻豆91在线播放免费| 亚洲欧洲另类国产综合| 欧美日韩在线电影| 国产九九视频一区二区三区| 亚洲精品国产品国语在线app| 欧美精品亚洲一区二区在线播放| 国产毛片一区二区| 亚洲一级二级在线| 国产片一区二区三区| 欧美日韩国产大片| 国产高清一区日本| 亚欧色一区w666天堂| 国产女人水真多18毛片18精品视频| 欧美性淫爽ww久久久久无| 精久久久久久久久久久| 依依成人综合视频| 久久精品一区二区三区不卡牛牛 | 91女人视频在线观看| 麻豆一区二区三区| 亚洲欧美日韩系列| 精品美女一区二区| 精品婷婷伊人一区三区三| 国产精品伊人色| 视频一区二区三区入口| 国产精品电影一区二区三区| 欧美一区二区三区四区五区| 97久久超碰精品国产| 精品在线一区二区| 天天操天天干天天综合网|