scale back(scale back是什么意思)
本文目录
scale back是什么意思
scale back英Despite current price advantage, UK manufacturers are still having to scale back production.尽管目前在价格上占据优势,英国生产商还是不得不减少产量。更多例句》》
如何在Page Layout上添加Scale bar
本例要实现的功能是以鼠标在Page Layout上画的Envelope为范围在Pagelayout增加一个跟第一个层相关联的图例。 要实现本例的功能首先需要在PageLayout上创建一个Legend元素,然后再设置该元素的属性,其中用到了两个主要的接口:ILegend和IlegendItem。 ILegend用来控制Legend(图例)。以下是该接口成员的介绍: Layer:实现与相关层的关联; Columns:图例以几列显示; ShowDescription 、ShowHeading、ShowLabels、ShowLayerName: 分别表示描述、标题、分类、层名称是否显示; IlegendItem用来设置Legend的风格。以下是该接口成员的介绍: AddItem :在图例的最后添加一项; ClearItem:清除所有项; Title:设置标题。 ? 程序说明 函数CreateLegend根据传入的pExtent参数在PageLayout上添加一个Legend元素。 ? 代码 Private Sub UIToolControl1_MouseDown(ByVal button As Long, ByVal shift As Long, ByVal x As Long, _ ByVal y As Long) Dim pMxDocument As IMxDocument Dim pActiveView As IActiveView Dim pEnvelope As IEnvelope Dim pFeatureLayer As IFeatureLayer Dim pRubberBand As IRubberBand On Error GoTo ErrorHandler Set pMxDocument = ThisDocument ’确保AcrMap在Layout模式下 ’确保AcrMap中有数据 If Not pMxDocument.ActiveView Is pMxDocument.PageLayout Or pMxDocument.FocusMap.LayerCount = 0 Then Exit Sub End If ’初始设定 Set pActiveView = pMxDocument.PageLayout Set pRubberBand = New RubberEnvelope ’IRubberBand接口用于画Envelope,Polygon等 Set pEnvelope = pRubberBand.TrackNew(pMxDocument.ActiveView.ScreenDisplay, Nothing) Set pFeatureLayer = pMxDocument.FocusMap.Layer(0)CreateLegend pEnvelope, pFeatureLayer, pActiveView pActiveView.Refresh Exit Sub ErrorHandler: MsgBox Err.Description End Sub Public Sub CreateLegend(pExtent As IEnvelope, pFeatureLayer As IFeatureLayer, _ pActiveView As IActiveView) Dim pMapFrame As IMapFrame Dim pMapSurroundF As IMapSurroundFrame Dim pMapSurround As IMapSurround Dim pLegend As ILegend Dim pLegendItem As ILegendItem Dim pElement As IElement Dim pAreaLayer As IFeatureLayer Dim pTextSymbol As ITextSymbol Dim pFillSymbol As IFillSymbol Dim pLineSymbol As ILineSymbol Dim pColor As IColor Dim pSymbolBackground As ISymbolBackground Dim pUID As New UID On Error GoTo ErrorHandler If pFeatureLayer Is Nothing Then Exit Sub If pActiveView Is Nothing Then Exit Sub If Not TypeOf pActiveView Is IPageLayout Then Exit Sub ’得到MapFrame Set pMapFrame = pActiveView.GraphicsContainer.FindFrame(pActiveView.FocusMap) pUID.Value = "esriCore.Legend" Set pMapSurroundF = pMapFrame.CreateSurroundFrame(pUID, Nothing) ’创建底图Symbol Set pSymbolBackground = New esriCore.SymbolBackground Set pFillSymbol = New esriCore.SimpleFillSymbol Set pLineSymbol = New esriCore.SimpleLineSymbol Set pColor = New esriCore.RgbColor pColor.RGB = RGB(255, 255, 255)pLineSymbol.Color = pColor pFillSymbol.Color = pColor pFillSymbol.Outline = pLineSymbol pSymbolBackground.FillSymbol = pFillSymbol pMapSurroundF.Background = pSymbolBackground Set pElement = pMapSurroundF pElement.Geometry = pExtent Set pMapSurround = pMapSurroundF.MapSurround Set pLegend = pMapSurround ’创建一个水平的LegendItem Set pLegendItem = New esriCore.HorizontalLegendItem ’设置LegendItem的相关层和列数 With pLegendItem Set .Layer = pFeatureLayer .Columns = 1 .ShowDescriptions = True .ShowHeading = True .ShowLabels = True .ShowLayerName = True End With ’先清除所有的LegendItem pLegend.ClearItems ’在Legend上添加一个LegendItem With pLegend .AddItem pLegendItem .Title = "New Legend" End With pActiveView.GraphicsContainer.AddElement pElement, 0 Exit Sub ErrorHandler: MsgBox Err.Description End Sub
scale back
scaled back contacts with the US military缩减和美国军方的联系。
back、class、scale的中文
back是一个英语单词,可以用作名词、动词、形容词和副词,可以翻译为背、背部,等等。分享单词简介backn.背,背部;背面,反面;后面,后部;(椅子等的)靠背;vt.使后退;支持;加背书于;下赌注于;vi.后退;倒退;adj.背部的;后面的;以前的;拖欠的;adv.以前;向后地;例句1.3 Microphones:bottom,front and back配备3个麦克风:顶部、底部和背部2.The eurocrisis is back.欧元危机又回来了。3.And then we walked back.然后我们走了回去。4.On the way back to moscow.返回莫斯科市的路上大塞车。5.Everyone turned thei
css缩放scale是放大像素吗
是缩放元素。1、scale(x,y)对元素进行缩放X表示水平方向缩放的倍数|Y表示垂直方向的缩放倍数Y是一个可选参数,没有设置的话,则表示X,Y两个方向的缩放倍数是一样的。并以X为准。transform:scale(2,2.5);2、scaleX(
更多文章:
![联想i300(联想I300好不好 有知道的告诉我 一下,谢谢)](/static/images/nopic/9.jpg)
联想i300(联想I300好不好 有知道的告诉我 一下,谢谢)
2023年5月25日 20:15
![安卓adb驱动免费版(adb驱动是什么 安卓adb驱动概念详解)](/static/images/nopic/16.jpg)
安卓adb驱动免费版(adb驱动是什么 安卓adb驱动概念详解)
2023年8月3日 23:50
![夏普电视怎么投屏连接华为手机(夏普电视LCD一32LX170A怎么连接华为手机投屏)](/static/images/nopic/27.jpg)
夏普电视怎么投屏连接华为手机(夏普电视LCD一32LX170A怎么连接华为手机投屏)
2023年7月22日 15:20
![四川旅游必去十大景点推荐(四川旅游十大必去景点 四川旅游十大必去景点有哪些)](/static/images/nopic/23.jpg)
四川旅游必去十大景点推荐(四川旅游十大必去景点 四川旅游十大必去景点有哪些)
2023年10月11日 20:40
![三星x850(求科普三星850EVO sata3版和M2版差距大吗)](/static/images/nopic/6.jpg)
三星x850(求科普三星850EVO sata3版和M2版差距大吗)
2024年4月3日 18:00
![云手机是真实手机吗(在云手机额外功能中,云手机是手机用的,还是电脑用的)](/static/images/nopic/22.jpg)
云手机是真实手机吗(在云手机额外功能中,云手机是手机用的,还是电脑用的)
2023年5月31日 12:30
![魅族官网买苹果手机(那些骂苹果不送充电器的人,正在狂买iPhone12)](/static/images/nopic/22.jpg)
魅族官网买苹果手机(那些骂苹果不送充电器的人,正在狂买iPhone12)
2024年4月29日 15:29
![三星a70s语音唤醒(三星A70S手机怎样把手电筒放在桌面上)](/static/images/nopic/6.jpg)
三星a70s语音唤醒(三星A70S手机怎样把手电筒放在桌面上)
2024年6月18日 21:00