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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? scalebar.frm

?? GIS軟件
?? FRM
?? 第 1 頁 / 共 3 頁
字號:
      Map.Layers.Layer9.LabelProperties.Offset=   2
      Map.Layers.Layer9.LabelProperties.LineType=   0
      Map.Layers.Layer9.LabelProperties.Zoom=   -1  'True
      Map.Layers.Layer9.LabelProperties.ZoomMin=   0
      Map.Layers.Layer9.LabelProperties.ZoomMax=   10000
      Map.Layers.Layer9.LabelProperties.Visible=   -1  'True
      Map.Layers.Layer9.LabelProperties.Position=   0
      Map.Layers.Layer9.LabelProperties.Parellel=   -1  'True
      Map.Layers.Layer9.LabelProperties.PartialSegments=   0   'False
      Map.Layers.Layer9.LabelProperties.Style.TextFontBackColor=   16777215
      Map.Layers.Layer9.LabelProperties.Style.SymbolChar=   0
      BeginProperty Map.Layers.Layer9.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      BeginProperty Map.Layers.Layer9.LabelProperties.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Map.Layers.Layer9.LabelProperties.Style.LineStyle=   1
      Map.Layers.Layer9.LabelProperties.Style.LineWidth=   1
      Map.NumericCoordSys.ProjectionInfo=   "scaleBar.frx":0000
      Map.DisplayCoordSys.ProjectionInfo=   "scaleBar.frx":0130
      Map.Zoom        =   3272.71025569536
      Map.CenterX     =   -95.6166331624539
      Map.CenterY     =   38.2558613617276
      FeatureEditMode =   1
   End
   Begin VB.Menu fileMenuItem 
      Caption         =   "File"
      Begin VB.Menu exitMenuItem 
         Caption         =   "Exit"
      End
   End
   Begin VB.Menu toolsMenuItem 
      Caption         =   "Tools"
      Begin VB.Menu zoomInToomMenuItem 
         Caption         =   "Zoom In"
      End
      Begin VB.Menu zoomOutToolMenuItem 
         Caption         =   "Zoom Out"
      End
      Begin VB.Menu panToolMenuItem 
         Caption         =   "Pan Tool"
      End
   End
   Begin VB.Menu layerMenuItem 
      Caption         =   "Layers"
      Begin VB.Menu addUDLMenuItem 
         Caption         =   "Add User Draw"
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

' This sample application and corresponding sample code is provided
' for example purposes only.  It has not undergone rigorous testing
' and as such should not be shipped as part of a final application
' without extensive testing on the part of the organization releasing
' the end-user product.

Public UDLAdded As Boolean

Private Sub addUDLMenuItem_Click()
    ' if the user draw layer is not in map, add it
    ' and change the menu item to say remove layer
    Dim layerinfo As New layerinfo
    If Not UDLAdded Then
        layerinfo.Type = miLayerInfoTypeUserDraw
        layerinfo.AddParameter "Name", "ScaleBar"
        Map1.Layers.Add layerinfo, 1
        UDLAdded = True
        addUDLMenuItem.Caption = "Remove User Draw Layer"
    Else
    ' Remove the layer and change menu item to say add
    ' Layer
        Map1.Layers.Remove "ScaleBar"
        UDLAdded = False
        addUDLMenuItem.Caption = "Add User Draw Layer"
    End If
End Sub

Private Sub exitMenuItem_Click()
    End
End Sub

Private Sub Form_Load()
    ' Set global to false by default, because User draw
    ' layer has not yet been added
    UDLAdded = False
End Sub

Private Sub Map1_DrawUserLayer(ByVal Layer As Object, ByVal hOutputDC As Stdole.OLE_HANDLE, ByVal hAttributeDC As Stdole.OLE_HANDLE, ByVal RectFull As Object, ByVal RectInvalid As Object)
  Dim barWidth As Single, barHeight As Single
    Dim screenX As Single, screenY As Single
    Dim mapX1 As Double, mapY1 As Double
    Dim mapX2 As Double, mapY2 As Double
    Dim totalDistance As Long
    Dim ptArray(2) As POINTAPI
    Dim i As Integer
    Dim StartX As Single, StartY As Single
    Dim hFont As Long
    Dim SavedScaleMode As Integer
    
    'set the x increment to be 1/2 an inch
    barWidth = 0.5
    
    'set the y increment
    barHeight = 0.05
    
    'Set start of scaleBar
    StartX = 0.7
    StartY = 0.7
    
    'Set the mapMode of Device Context
    SetMapMode hOutputDC, MM_HIENGLISH
    'Set the current Pen of the Device Context
    SelectObject hOutputDC, CreatePen(0, 1, BLACK)
    
    Dim x1 As Long, x2 As Long, y1 As Long, y2 As Long
    Dim m_LogBrush As LOGBRUSH
    
    'The conversion factor is needed because one HIENGLISH unit is .001 inch
    x1 = StartX * HIENGLISH_CONVERSION
    y1 = StartY * HIENGLISH_CONVERSION
    barWidth = barWidth * HIENGLISH_CONVERSION
    barHeight = barHeight * HIENGLISH_CONVERSION
    For i = 1 To 2
        'Set start and end locations of first section of scaleBar.
        x2 = barWidth + x1
        y2 = barHeight + y1
        
        'Set Brush Type
        'if loop count is 1 then first section so set brush to red
        If i = 1 Then
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = RED
        Else    'Second section, so set brush to white
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = WHITE
        End If
        SelectObject hOutputDC, CreateBrushIndirect(m_LogBrush)
        'with mapMode HIENGLISH, positive x is to the right, positive y is up
        Rectangle hOutputDC, x1, -y1, x2, -y2
        
        'Draw Second Section, y stays constant
        If i = 1 Then
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = WHITE
        Else
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = RED
        End If
        SelectObject hOutputDC, CreateBrushIndirect(m_LogBrush)
        x1 = x2
        x2 = barWidth + x1
        Rectangle hOutputDC, x1, -y1, x2, -y2
    
        'Draw third section
        If i = 1 Then
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = RED
        Else
            m_LogBrush.lbStyle = BS_SOLID
            m_LogBrush.lbColor = WHITE
        End If
        SelectObject hOutputDC, CreateBrushIndirect(m_LogBrush)
        x1 = x2
        x2 = barWidth * 2 + x1
        Rectangle hOutputDC, x1, -y1, x2, -y2
        
        x1 = StartX * HIENGLISH_CONVERSION
        y1 = y2
    Next
    
    'Fill array to use for distance later
    SavedScaleMode = Form1.ScaleMode
    Form1.ScaleMode = 5   'inch
    
    'Calculate distance at the center of map.  1 inch in each direction for the x value
    ptArray(0).x = (ScaleWidth * 1000 / 2) - 1000   '1000 HIENGLISH = 1 inch
    ptArray(0).y = -ScaleHeight * 1000 / 2
    ptArray(1).x = (ScaleWidth * 1000 / 2) + 1000   '1000 HIENGLISH = 1 inch
    ptArray(1).y = -ScaleHeight * 1000 / 2
    
    'Call API to get pixel values for first section HIENGLISH screen Coordinates
    'Store these values in map values to be used in Distance Function
    LPtoDP hOutputDC, ptArray(0), 2
    screenX = ptArray(0).x
    screenY = ptArray(0).y
    Map1.ConvertCoord screenX, screenY, mapX1, mapY1, miScreenToMap
    
    screenX = ptArray(1).x
    screenY = ptArray(1).y
    Map1.ConvertCoord screenX, screenY, mapX2, mapY2, miScreenToMap
    
    totalDistance = Map1.Distance(mapX1, mapY1, mapX2, mapY2)
    
    'Set up font, Text color and text Background Color
    hFont = CreatePointFont(100, "Arial", hOutputDC)
    SelectObject hOutputDC, hFont
    SetTextColor hOutputDC, BLACK
    SetBkMode hOutputDC, TRANSPARENT
    
    'Place text on scaleBar
    x1 = StartX * HIENGLISH_CONVERSION
    y1 = (StartY - 0.19) * HIENGLISH_CONVERSION
    
    TextOut hOutputDC, x1, -y1, "0", 1
    
    x1 = (barWidth * 2) + (StartX * HIENGLISH_CONVERSION)
    Dim midPoint As Long
    midPoint = totalDistance / 2
    
    'Value to center mile text on top of partition line
    Dim centerCorrection As Integer
    centerCorrection = 60 * Len(Str$(midPoint))
    
    TextOut hOutputDC, x1 - centerCorrection, -y1, Str$(midPoint), Len(Str$(midPoint))
    
    x1 = (barWidth * 4) + (StartY * HIENGLISH_CONVERSION)
    centerCorrection = 60 * Len(Str$(totalDistance))
    TextOut hOutputDC, x1 - centerCorrection, -y1, Str$(totalDistance), Len(Str$(totalDistance))
    
    'Place MapUnit Description under scalebar
    x1 = (barWidth * 2) + (StartX * HIENGLISH_CONVERSION)
    centerCorrection = 60 * Len("Miles")
    y1 = (StartY + 0.1) * HIENGLISH_CONVERSION
    TextOut hOutputDC, x1 - centerCorrection, -y1, "Miles", Len("Miles")
    ' restore scale mode
    Form1.ScaleMode = SavedScaleMode
End Sub

Private Function CreatePointFont(nPointSize As Integer, sFontName As String, hDC As Stdole.OLE_HANDLE) As Long
' This function returns a handle to a created logical font.  The calling function
' is responsible for destroying the font after using it.

    Dim LogFont As LogFont
    Dim pt As POINTAPI
    Dim ptOrg As POINTAPI
    Dim i As Integer
    Dim b As Byte
    Dim s As String
            
    LogFont.lfHeight = nPointSize
    LogFont.lfWidth = 0
    LogFont.lfEscapement = 0
    LogFont.lfOrientation = 0
    LogFont.lfWeight = 700
    LogFont.lfItalic = 0
    LogFont.lfUnderline = 0
    LogFont.lfStrikeOut = 0
    LogFont.lfCharSet = DEFAULT_CHARSET
    LogFont.lfOutPrecision = 0
    LogFont.lfClipPrecision = 0
    LogFont.lfQuality = 0
    LogFont.lfPitchAndFamily = 0
    ' Copy the string arg to the byte array
    For i = 1 To Len(sFontName)
        If i > LF_FACESIZE Then
            Exit For
        End If
        s = Mid(sFontName, i, 1)
        b = CByte(Asc(s))
        LogFont.lfFaceName(i - 1) = b
    Next
    
    ' convert nPointSize to logical units based on pDC
    pt.y = GetDeviceCaps(hDC, LOGPIXELSY) * LogFont.lfHeight
    pt.y = pt.y / 720    ' 72 points/inch, 10 decipoints/point
    DPtoLP hDC, pt, 1
    ptOrg.x = 0
    ptOrg.y = 0
    DPtoLP hDC, ptOrg, 1
    LogFont.lfHeight = -Abs(pt.y - ptOrg.y)
    
    CreatePointFont = CreateFontIndirect(LogFont)
    
End Function

Private Sub Map1_ToolUsed(ByVal ToolNum As Integer, ByVal x1 As Double, ByVal y1 As Double, ByVal x2 As Double, ByVal y2 As Double, ByVal Distance As Double, ByVal Shift As Boolean, ByVal Ctrl As Boolean, EnableDefault As Boolean)
    'The pan tool only partially updates the window. Since we are drawing non-georeferenced objects
    'to the map via the userdraw layer we need to make sure the map completely refreshes. We only need
    'to do this if the pan tool is active and the scalebar user draw layer is loaded.
    If ToolNum = miPanTool Then
        If UDLAdded = True Then
            'redraw entire map
            Map1.Refresh
        End If
    End If
End Sub

Private Sub panToolMenuItem_Click()
    'set pan tool as active tool
    Map1.CurrentTool = miPanTool
End Sub

Private Sub zoomInToomMenuItem_Click()
    'set zoom in tool as active tool
    Map1.CurrentTool = miZoomInTool
End Sub

Private Sub zoomOutToolMenuItem_Click()
    'set zoom out tool as active tool
    Map1.CurrentTool = miZoomOutTool
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费在线观看日韩欧美| 国产精品网站在线播放| 亚洲狠狠爱一区二区三区| av电影一区二区| 亚洲欧洲成人自拍| 欧美在线视频日韩| 午夜欧美在线一二页| 欧美福利一区二区| 六月婷婷色综合| 久久九九久久九九| 99国产精品久久久久| 有坂深雪av一区二区精品| 欧洲av在线精品| 亚洲第一主播视频| 日韩精品一区二区三区视频播放| 韩国女主播一区| 国产精品第13页| 欧美日韩你懂得| 韩国精品在线观看| 亚洲欧美一区二区三区极速播放| 色婷婷亚洲一区二区三区| 一区二区激情小说| 欧美成人在线直播| 成人午夜av影视| 亚洲一区二区四区蜜桃| 欧美一级理论性理论a| 国产麻豆视频精品| 亚洲主播在线观看| 久久九九国产精品| 欧美色网一区二区| 国产盗摄女厕一区二区三区| 亚洲男人的天堂在线观看| 欧美一区二区在线不卡| 国产成人av福利| 午夜精品久久久久久久久| 欧美白人最猛性xxxxx69交| 99国产精品久久久久久久久久 | 亚洲色图制服丝袜| 91精品福利在线一区二区三区| 国产成人精品影视| 爽好多水快深点欧美视频| 国产色综合久久| 欧美美女直播网站| 99久久精品情趣| 九九**精品视频免费播放| 一区二区三区四区视频精品免费 | 午夜久久久久久久久| 国产婷婷色一区二区三区在线| 91电影在线观看| 豆国产96在线|亚洲| 日韩精品国产欧美| 一区二区三区在线影院| 国产日韩欧美一区二区三区综合| 欧美日韩视频第一区| 不卡电影一区二区三区| 美国毛片一区二区三区| 伊人一区二区三区| 日韩毛片在线免费观看| 久久久久久久久久久久久女国产乱| 精品免费一区二区三区| 色婷婷综合久久久中文一区二区 | 日韩av一二三| 亚洲美女淫视频| 中文字幕中文字幕在线一区| 久久婷婷综合激情| 精品国产一区二区亚洲人成毛片 | 日本韩国欧美在线| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 成人在线视频一区| 国产成人精品综合在线观看 | 中文字幕巨乱亚洲| 久久久国产午夜精品| 精品美女一区二区| 日韩欧美亚洲另类制服综合在线| 欧美高清视频不卡网| 欧美久久久久免费| 欧美三级电影精品| 欧美精品v国产精品v日韩精品| 在线观看91精品国产入口| 92精品国产成人观看免费| 成人福利视频网站| 大胆亚洲人体视频| 成人18精品视频| 色综合激情久久| 在线看不卡av| 欧美男人的天堂一二区| 欧美嫩在线观看| 精品精品国产高清a毛片牛牛 | 欧美tk—视频vk| 26uuu成人网一区二区三区| 精品国产伦一区二区三区观看体验| 欧美第一区第二区| 久久色在线视频| 国产精品电影一区二区三区| 国产精品久久久久久久久晋中 | 欧美白人最猛性xxxxx69交| 欧美精选一区二区| 日韩女优制服丝袜电影| 久久久久久久一区| 亚洲欧洲精品一区二区精品久久久 | 五月天久久比比资源色| 性感美女极品91精品| 麻豆成人综合网| 国产麻豆视频一区| 一本久道久久综合中文字幕| 欧美日韩激情一区二区三区| 欧美一激情一区二区三区| 久久久一区二区三区捆绑**| 中文字幕乱码久久午夜不卡| 夜夜嗨av一区二区三区中文字幕| 视频一区二区三区入口| 精品一二线国产| 91在线观看高清| 欧美精品在线观看播放| 欧美videossexotv100| 国产精品国产三级国产aⅴ入口| 亚洲午夜精品17c| 国产伦精品一区二区三区视频青涩 | 国产精品国产精品国产专区不蜜| 亚洲尤物视频在线| 美国精品在线观看| 91美女在线观看| 久久影视一区二区| 亚洲激情在线播放| 国产真实精品久久二三区| 91视频观看视频| 欧美刺激午夜性久久久久久久| 亚洲视频一二三区| 久久99精品久久只有精品| 91视视频在线直接观看在线看网页在线看 | 69p69国产精品| 亚洲视频资源在线| 国模套图日韩精品一区二区| 色综合天天综合| 久久久不卡影院| 日韩av一级片| 欧美吞精做爰啪啪高潮| 久久久久久97三级| 美女视频一区二区三区| 91麻豆123| 欧美激情一区二区三区不卡 | 欧美视频一区在线| 中文字幕一区二区三区不卡在线 | 在线不卡a资源高清| 国产精品欧美经典| 国产一区二区在线电影| 欧美日韩亚洲国产综合| 中文字幕制服丝袜一区二区三区| 久久99精品久久久久久久久久久久 | 91.com视频| 亚洲综合视频在线观看| 丁香婷婷综合激情五月色| 欧美巨大另类极品videosbest | 欧美久久久影院| 亚洲国产aⅴ天堂久久| 9人人澡人人爽人人精品| 26uuu久久综合| 久久99国产精品麻豆| 91麻豆精品国产91久久久更新时间| 亚洲欧美怡红院| 99热国产精品| 国产精品三级视频| 国产91精品在线观看| 欧美一区二区三区不卡| 亚洲成人先锋电影| 欧美午夜一区二区三区| 亚洲综合在线五月| 欧美视频三区在线播放| 一区二区三区在线视频免费观看| 91麻豆swag| 亚洲h动漫在线| 欧美一区二区在线播放| 日本伊人午夜精品| 欧美一区二区三区在线观看视频| 婷婷开心久久网| 欧美日本国产视频| 日韩电影一区二区三区| 欧美一区三区二区| 精品系列免费在线观看| xnxx国产精品| 成人白浆超碰人人人人| 亚洲人一二三区| 欧美综合久久久| 日本欧美在线观看| 国产亚洲欧美中文| 99这里都是精品| 亚洲国产精品一区二区www| 欧美精品自拍偷拍| 国产原创一区二区三区| 亚洲国产精品二十页| av在线不卡免费看| 亚洲国产欧美在线人成| 欧美精品 日韩| 国产美女精品在线| 亚洲三级免费观看| 欧美一区国产二区| 成人免费视频播放| 五月激情综合婷婷| 国产天堂亚洲国产碰碰| 一本久久a久久精品亚洲|