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

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

?? frmexport.frm

?? 一個不錯的插件
?? FRM
?? 第 1 頁 / 共 3 頁
字號:
514:   If TypeOf pExport Is IOutputCleanup Then
    Dim pCleanup As IOutputCleanup
516:     Set pCleanup = pExport
517:     pCleanup.Cleanup
518:   End If
  
520:   SetOutputQuality pActiveView, iPrevOutputImageQuality

522:   lblStatus.Caption = ""
523:   Set m_pMapBook = Nothing
524:   Set m_pMapPage = Nothing
525:   Set m_pMapSeries = Nothing
526:   m_pExportFrame.Visible = False
527:   Unload Me
  
  Exit Sub
ErrorHand:
531:   lblStatus.Caption = ""
532:   MsgBox "cmdExport_Click - " & Erl & " - " & Err.Description
End Sub



Public Sub SetupToExport(ByRef pExport As IExport, ByRef dpi As Integer, ByRef ExportFrame As tagRECT, pActiveView As IActiveView, sExportFileName As String)
  On Error GoTo ErrorHand
  
  Dim pEnv As IEnvelope, pPageLayout As IPageLayout, pPage As IPage
  Dim dXmax As Double, dYmax As Double
  Dim pOutputRasterSettings As IOutputRasterSettings

544:    Set pEnv = New Envelope
'   pActiveView.ScreenDisplay.DisplayTransformation.Resolution = pExport.Resolution
  'Setup the Export
547:   ExportFrame = pActiveView.ExportFrame

549:   Set pPageLayout = pActiveView
550:   Set pPage = pPageLayout.Page
  
552:   If pPage.Units <> esriInches Then
553:     pPage.Units = esriInches
554:   End If
  
556:   pPage.QuerySize dXmax, dYmax
557:   pEnv.PutCoords 0, 0, dXmax * pExport.Resolution, dYmax * pExport.Resolution

'Commented out code removes a quarter of a unit, most likely an inch, from the extent to make it
'fit better on the page
'  ExportFrame.Top = pExport.Resolution * 0.25
'  ExportFrame.Right = (dXmax - 0.25) * pExport.Resolution
563:   ExportFrame.Right = dXmax * pExport.Resolution
564:   ExportFrame.bottom = dYmax * pExport.Resolution
  
566:   ExportFrame.Left = 0
567:   ExportFrame.Top = 0
            
569:   With pExport
570:     .PixelBounds = pEnv
571:     .ExportFileName = sExportFileName
572:   End With

  
  ' Output Image Quality of the export.  The value here will only be used if the export
  '  object is a format that allows setting of Output Image Quality, i.e. a vector exporter.
  '  The value assigned to ResampleRatio should be in the range 1 to 5.
  '  1 (esriRasterOutputBest) corresponds to "Best", 5 corresponds to "Fast"
579:   If TypeOf pExport Is IOutputRasterSettings Then
    ' for vector formats, get the ResampleRatio from the export object and call SetOutputQuality
    '   to control drawing of raster layers at export time
582:     Set pOutputRasterSettings = pExport
583:     SetOutputQuality pActiveView, pOutputRasterSettings.ResampleRatio
584:     Set pOutputRasterSettings = Nothing
585:   Else
    'always set the output quality of the display to 1 (esriRasterOutputBest) for image export formats
587:     SetOutputQuality pActiveView, esriRasterOutputBest
588:   End If
  
  
  
  Exit Sub
ErrorHand:
594:   MsgBox "SetupToExport - " & Erl & " - " & Err.Description
End Sub


Public Function ConvertToPixels(sOrient As String, pExport As IExport) As Double
On Error GoTo ErrorHand:
  Dim pixelExtent As Long
  Dim pDT As IDisplayTransformation
  Dim deviceRECT As tagRECT
  Dim pMxDoc As IMxDocument
  
605:   Set pMxDoc = m_pApp.Document
606:   Set pDT = pMxDoc.ActiveView.ScreenDisplay.DisplayTransformation
607:   deviceRECT = pDT.DeviceFrame
  
609:   If sOrient = "Height" Then
610:     pixelExtent = Abs(deviceRECT.Top - deviceRECT.bottom)
611:   ElseIf sOrient = "Width" Then
612:     pixelExtent = Abs(deviceRECT.Top - deviceRECT.bottom)
613:   End If
  
615:   ConvertToPixels = (pExport.Resolution * (pixelExtent / pDT.Resolution))
  
  Exit Function
ErrorHand:
619:   MsgBox "ConvertToPixels - " & Erl & " - " & Err.Description
End Function

Private Sub Form_Load()
623:   chkDisabled.value = 1
End Sub

Private Function CheckForValidPath(sPathName As String) As Boolean
  On Error GoTo ErrorHand

629:   CheckForValidPath = False
  
  Dim aPath() As String
632:       aPath = Split(sPathName, ".")

634:   If UBound(aPath) = 0 Then
    Exit Function
636:   ElseIf UBound(aPath) = 1 Then
    
    Dim sPath As String
    Dim lPos As Long
    
641:       lPos = InStrRev(sPathName, "\")
642:       sPath = Left$(sPathName, (Len(sPathName) - (Len(sPathName) - lPos + 1)))
      
644:       If Dir(sPath, vbDirectory) <> "" Then
645:         CheckForValidPath = True
        Exit Function
647:       Else
        Exit Function
649:       End If
      
651:   ElseIf UBound(aPath) > 1 Then
    Exit Function
653:   End If
  
  Exit Function
ErrorHand:
657:   MsgBox "CheckForValidPath - " & Erl & " - " & Err.Description
End Function

Public Sub SetOutputQuality(pActiveView As IActiveView, ByVal lOutputQuality As Long)
On Error GoTo ErrorHand
  Dim pMap As IMap
  Dim pGraphicsContainer As IGraphicsContainer
  Dim pElement As IElement
  Dim pOutputRasterSettings As IOutputRasterSettings
  Dim pMapFrame As IMapFrame
  Dim pTmpActiveView As IActiveView
  
  
670:   If TypeOf pActiveView Is IMap Then
671:     Set pOutputRasterSettings = pActiveView.ScreenDisplay.DisplayTransformation
672:     pOutputRasterSettings.ResampleRatio = lOutputQuality
673:   ElseIf TypeOf pActiveView Is IPageLayout Then
    
    'assign ResampleRatio for PageLayout
676:     Set pOutputRasterSettings = pActiveView.ScreenDisplay.DisplayTransformation
677:     pOutputRasterSettings.ResampleRatio = lOutputQuality
    
    'and assign ResampleRatio to the Maps in the PageLayout
680:     Set pGraphicsContainer = pActiveView
681:     pGraphicsContainer.Reset
682:     Set pElement = pGraphicsContainer.Next
683:     Do While Not pElement Is Nothing
684:       If TypeOf pElement Is IMapFrame Then
685:         Set pMapFrame = pElement
686:         Set pTmpActiveView = pMapFrame.Map
687:         Set pOutputRasterSettings = pTmpActiveView.ScreenDisplay.DisplayTransformation
688:         pOutputRasterSettings.ResampleRatio = lOutputQuality
689:       End If
690:       DoEvents
691:       Set pElement = pGraphicsContainer.Next
692:     Loop
693:     Set pMap = Nothing
694:     Set pMapFrame = Nothing
695:     Set pGraphicsContainer = Nothing
696:     Set pTmpActiveView = Nothing
697:   End If
698:   Set pOutputRasterSettings = Nothing
  
  Exit Sub
ErrorHand:
702:   MsgBox "SetOutputQuality - " & Erl & " - " & Err.Description
End Sub


Private Sub Form_Unload(Cancel As Integer)
707:   Set m_pMapPage = Nothing
708:   Set m_pMapSeries = Nothing
709:   Set m_pMapBook = Nothing
710:   Set m_pApp = Nothing
711:   Set m_pExport = Nothing
712:   Set m_pExportFrame = Nothing
713:   Set m_ExportersCol = Nothing
End Sub

Public Function GetMxdName() As String
On Error GoTo ErrorHand
  Dim pTemplates As ITemplates
  Dim lTempCount As Long
  Dim strDocPath As String
  
722:   Set pTemplates = Application.Templates
723:   lTempCount = pTemplates.count
  
  ' The document is always the last item
726:   strDocPath = pTemplates.Item(lTempCount - 1)
727:   GetMxdName = Split(strDocPath, "\")(UBound(Split(strDocPath, "\")))
  Exit Function
ErrorHand:
730:   MsgBox "GetMxdName - " & Erl & " - " & Err.Description
End Function

Public Function GetRootNameFromPath(sPathAndFilename As String) As String
On Error GoTo ErrorHand

  Dim sRootName As String
737:   sRootName = Split(sPathAndFilename, "\")(UBound(Split(sPathAndFilename, "\")))
738:   sRootName = Split(sRootName, ".")(0)
739:   GetRootNameFromPath = sRootName
  Exit Function
ErrorHand:
742:   MsgBox "GetRootNameFromPath - " & Erl & " - " & Err.Description
End Function

Public Function GetPathFromPathAndFilename(sPathAndFilename As String) As String
On Error GoTo ErrorHand

  Dim sPathName As String
  Dim sRootName As String
750:   sRootName = Split(sPathAndFilename, "\")(UBound(Split(sPathAndFilename, "\")))
751:   sPathName = Left(sPathAndFilename, Len(sPathAndFilename) - Len(sRootName))

753:   GetPathFromPathAndFilename = sPathName
  Exit Function
ErrorHand:
756:   MsgBox "GetPathFromPathAndFilename - " & Erl & " - " & Err.Description
End Function


' Read a Registry value.
' Use KeyName = "" for the default value.
' Supports only DWORD, SZ, and BINARY value types.

Function GetRegistryValue(ByVal hKey As Long, ByVal KeyName As String, _
    ByVal ValueName As String, ByVal KeyType As Integer, _
    Optional DefaultValue As Variant = Empty) As Variant
On Error GoTo ErrorHand

    Dim handle As Long, resLong As Long
    Dim resString As String, length As Long
    Dim resBinary() As Byte
    
    ' Prepare the default result.
774:     GetRegistryValue = DefaultValue
    ' Open the key, exit if not found.
    If RegOpenKeyEx(hKey, KeyName, 0, KEY_READ, handle) Then Exit Function
    
    Select Case KeyType
        Case REG_DWORD
            ' Read the value, use the default if not found.
781:             If RegQueryValueEx(handle, ValueName, 0, REG_DWORD, _
                resLong, 4) = 0 Then
783:                 GetRegistryValue = resLong
784:             End If
        Case REG_SZ
786:             length = 1024: resString = Space$(length)
787:             If RegQueryValueEx(handle, ValueName, 0, REG_SZ, _
                ByVal resString, length) = 0 Then
                ' If value is found, trim characters in excess.
790:                 GetRegistryValue = Left$(resString, length - 1)
791:             End If
        Case REG_BINARY
793:             length = 4096
            ReDim resBinary(length - 1) As Byte
795:             If RegQueryValueEx(handle, ValueName, 0, REG_BINARY, _
                resBinary(0), length) = 0 Then
797:                 GetRegistryValue = resBinary()
798:             End If
        Case Else
800:             Err.Raise 1001, , "Unsupported value type"
801:     End Select
    
803:     RegCloseKey handle
    
    Exit Function
ErrorHand:
807:   MsgBox "GetRegistryvalue - " & Erl & " - " & Err.Description
End Function

' Write / Create a Registry value.
' Use KeyName = "" for the default value.
' Supports only DWORD, SZ, REG_MULTI_SZ, and BINARY value types.

Sub SetRegistryValue(ByVal hKey As Long, ByVal KeyName As String, ByVal ValueName As String, ByVal KeyType As Integer, value As Variant)
On Error GoTo ErrorHand
    Dim handle As Long, lngValue As Long
    Dim strValue As String
    Dim binValue() As Byte, length As Long
    
    ' Open the key, exit if not found.
    If RegOpenKeyEx(hKey, KeyName, 0, KEY_WRITE, handle) Then Exit Sub
    
    Select Case KeyType
        Case REG_DWORD
825:             lngValue = value
826:             RegSetValueEx handle, ValueName, 0, KeyType, lngValue, 4
        Case REG_SZ
828:             strValue = value
829:             RegSetValueEx handle, ValueName, 0, KeyType, ByVal strValue, Len(strValue)
        Case REG_MULTI_SZ
831:             strValue = value
832:             RegSetValueEx handle, ValueName, 0, KeyType, ByVal strValue, Len(strValue)
        Case REG_BINARY
834:             binValue = value
835:             length = UBound(binValue) - LBound(binValue) + 1
836:             RegSetValueEx handle, ValueName, 0, KeyType, binValue(LBound(binValue)), length
837:     End Select
    
    ' Close the key.
840:     RegCloseKey handle
    
    Exit Sub
ErrorHand:
844:   MsgBox "SetRegistryValue - " & Erl & " - " & Err.Description
End Sub


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩美女在线视频| 亚洲夂夂婷婷色拍ww47 | 国产91丝袜在线播放九色| 94-欧美-setu| 欧美电影免费观看高清完整版在 | 色婷婷综合久色| 2021久久国产精品不只是精品| 亚洲免费资源在线播放| 国产呦精品一区二区三区网站| 欧洲中文字幕精品| 久久精品一级爱片| 免费成人美女在线观看.| 一本一道久久a久久精品| 久久久精品中文字幕麻豆发布| 亚洲已满18点击进入久久| 国产原创一区二区| 91精品国产一区二区三区香蕉| 成人欧美一区二区三区在线播放| 久久成人18免费观看| 欧美色综合影院| 亚洲乱码中文字幕| 成人激情开心网| 久久久国产综合精品女国产盗摄| 日产欧产美韩系列久久99| 91成人看片片| 亚洲欧美日韩国产手机在线 | 91日韩精品一区| 国产欧美视频在线观看| 久久电影网站中文字幕| 91麻豆精品国产91久久久久| 一区二区免费在线播放| 一本大道综合伊人精品热热| 国产精品午夜免费| 国产成人夜色高潮福利影视| 精品99久久久久久| 久久99精品久久久久久动态图 | 91麻豆精品91久久久久同性| 亚洲国产精品一区二区尤物区| 91美女在线视频| 亚洲精品自拍动漫在线| 91黄色免费网站| 午夜视频在线观看一区二区三区| 欧美午夜精品免费| 日韩精品久久久久久| 91精品国产色综合久久不卡蜜臀| 日韩av在线发布| 久久综合色综合88| 成人一道本在线| 国产精品美日韩| 一本大道av伊人久久综合| 亚洲精品大片www| 欧美视频在线一区| 美女视频黄久久| 26uuu亚洲婷婷狠狠天堂| 国产91丝袜在线18| 亚洲美女区一区| 欧美一区二区三区性视频| 久久99最新地址| 国产精品毛片a∨一区二区三区| 97久久精品人人做人人爽50路| 亚洲色图欧洲色图婷婷| 欧美人狂配大交3d怪物一区| 国产美女主播视频一区| 成人欧美一区二区三区在线播放| 欧美日本乱大交xxxxx| 精品一区二区三区在线观看 | 日韩一区二区在线看| 国产一区二区在线观看视频| 成人免费在线播放视频| 欧美日韩一区二区不卡| 国产麻豆欧美日韩一区| 亚洲免费观看高清| 精品国产伦一区二区三区观看体验| 国产成人在线影院| 午夜在线成人av| 国产三级精品三级| 欧美日本精品一区二区三区| 国产精品一区二区久久不卡| 亚洲一区视频在线观看视频| 国产欧美一区二区在线| 欧美日韩国产精选| 成人国产精品免费网站| 青青草国产成人av片免费| 中文字幕亚洲综合久久菠萝蜜| 欧美一级专区免费大片| 91麻豆swag| 国产精品一二三四区| 日韩和欧美一区二区三区| 国产精品美女久久福利网站| 精品免费国产一区二区三区四区| 欧美性受xxxx黑人xyx性爽| 成人高清视频免费观看| 麻豆视频观看网址久久| 亚洲一二三四区| 亚洲欧美自拍偷拍色图| 久久午夜电影网| 日韩午夜小视频| 在线影视一区二区三区| 成人av集中营| 粉嫩av亚洲一区二区图片| 麻豆高清免费国产一区| 亚洲国产欧美在线| 亚洲免费视频成人| 自拍偷拍欧美激情| 中文字幕va一区二区三区| 亚洲精品一区二区三区99| 这里只有精品99re| 欧美色爱综合网| 91麻豆视频网站| 成人a免费在线看| 岛国精品一区二区| 国产福利精品一区| 国产精品乡下勾搭老头1| 精品中文字幕一区二区小辣椒| 日韩精品午夜视频| 日韩电影在线一区二区| 日日夜夜精品视频免费| 偷偷要91色婷婷| 午夜久久福利影院| 日本va欧美va欧美va精品| 首页亚洲欧美制服丝腿| 日本aⅴ亚洲精品中文乱码| 亚洲国产一区二区在线播放| 午夜av电影一区| 日韩av不卡在线观看| 日本不卡在线视频| 蜜臀av一区二区在线免费观看| 免费一级片91| 另类欧美日韩国产在线| 另类的小说在线视频另类成人小视频在线 | 欧美成人aa大片| www亚洲一区| 国产精品美女视频| 亚洲男同1069视频| 亚洲国产精品自拍| 久久综合综合久久综合| 激情欧美日韩一区二区| 国产精品亚洲第一| 色哟哟一区二区| 69久久99精品久久久久婷婷| 精品国产1区2区3区| 中文无字幕一区二区三区| 最新国产の精品合集bt伙计| 亚洲一区二区在线观看视频 | 一区二区免费看| 男男视频亚洲欧美| 国产精品91一区二区| 97se亚洲国产综合自在线| 欧美日韩一区二区三区在线看| 欧美sm美女调教| 国产精品视频免费看| 亚洲影院理伦片| 韩国三级电影一区二区| eeuss鲁一区二区三区| 欧美三级电影网| 精品va天堂亚洲国产| 亚洲激情五月婷婷| 毛片av一区二区三区| av一区二区三区在线| 91精品欧美综合在线观看最新 | 亚洲黄色在线视频| 久久精品国产精品亚洲综合| 99久久综合精品| 日韩欧美亚洲国产另类| 一区二区三区在线观看动漫 | 色综合中文字幕国产 | 性做久久久久久| 成人深夜福利app| 欧美麻豆精品久久久久久| 国产丝袜欧美中文另类| 天堂av在线一区| 成人综合婷婷国产精品久久蜜臀 | 91福利资源站| 国产日产欧产精品推荐色| 视频一区二区中文字幕| 91一区在线观看| 国产视频一区二区在线| 日韩av一二三| 欧美亚洲动漫精品| 欧美经典一区二区三区| 乱中年女人伦av一区二区| 欧美色图激情小说| 国产精品国产三级国产| 国产精品亚洲а∨天堂免在线| 欧美日本一区二区三区四区| 亚洲美女偷拍久久| av亚洲产国偷v产偷v自拍| 2020国产精品| 国产在线视频不卡二| 在线成人免费观看| 亚洲综合激情网| 色一情一乱一乱一91av| www国产精品av| 韩国女主播一区| 欧美一区二区三区视频免费播放 | 日韩精品专区在线影院观看| 日韩成人午夜电影| 欧美色区777第一页| 亚洲国产裸拍裸体视频在线观看乱了 | 久久久久久亚洲综合|