mappagelayout指定位置显示时间
来源:互联网 发布:网络第一辣妈高云微博 编辑:程序博客网 时间:2024/05/16 05:19
ITextSymbol textSymbol = new TextSymbolClass(); //Create a text symbol
textSymbol.Size = 25;
ITextElement textElement = new TextElementClass(); //Create a new text element
textElement.Symbol = textSymbol; //Set the text element properties Element.Symbol = textSymbol;
textElement.Text = DateTime.Now.ToShortDateString();
IElement pElement = (IElement)textElement; //QI for Ielement
pElement.Geometry = dPoint; //Set the elements geometryQI,得到IElement接口对象,用于设置元素的Geometry
axMapControl1.ActiveView.GraphicsContainer.AddElement(pElement, 0);//Add the element to the graphics container将元素添加到MapPageLayout中
axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, null, null);//局部刷新Refresh the graphics
#endregion
textSymbol.Size = 25;
ITextElement textElement = new TextElementClass(); //Create a new text element
textElement.Symbol = textSymbol; //Set the text element properties Element.Symbol = textSymbol;
textElement.Text = DateTime.Now.ToShortDateString();
IElement pElement = (IElement)textElement; //QI for Ielement
pElement.Geometry = dPoint; //Set the elements geometryQI,得到IElement接口对象,用于设置元素的Geometry
axMapControl1.ActiveView.GraphicsContainer.AddElement(pElement, 0);//Add the element to the graphics container将元素添加到MapPageLayout中
axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, null, null);//局部刷新Refresh the graphics
#endregion
- mappagelayout指定位置显示时间
- 在mappagelayout上显示图片,标记指定地点:方法1
- 在mappagelayout上显示图片,标记指定地点:方法2
- 显示Iframe指定位置
- 显示指定时区时间
- C#指定窗口显示位置
- C#指定窗口显示位置
- 在指定位置显示窗口
- C#指定窗口显示位置
- C#指定窗口显示位置
- C#指定窗口显示位置
- C#指定窗口显示位置
- localStorage数据指定位置显示
- 显示指定null值得位置
- js输出当前时间到指定位置
- 指定S60程序图标的显示位置
- 在指定位置显示string 的值
- 指定S60程序图标的显示位置
- 一个月赚5万美元--国产共享软件开发者周奕
- Business Objects 发布Crystal Reports 2008 ------ 革新报表解决方案
- [转]什么是加壳和加密
- 在mappagelayout上显示图片,标记指定地点:方法1
- 在mappagelayout上显示图片,标记指定地点:方法2
- mappagelayout指定位置显示时间
- 利用ASP.NET 2.0创建自定义Web控件
- 正则表达式
- 快速排序 冒泡排序
- vs2005 C# 主窗体和子窗体之间控件相互调用
- 网站建设前期分析阶段
- 恩啊! 登录注册 继续!!!
- Oracle中使用PL/SQL操作COM对象
- 关于那个那个什么客户验证