码迷,mamicode.com
首页 > 其他好文 > 详细

创建气泡

时间:2014-08-14 16:12:49      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:style   color   ar   new   ad   ef   rgb   on   

public IBalloonCallout CreateBallonCallout(double x, double y)
{
IRgbColor pRgbClr = new RgbColorClass();
pRgbClr.Red = 0;
pRgbClr.Green = 0;
pRgbClr.Blue = 255;
ISimpleFillSymbol pSmpFill = new SimpleFillSymbolClass();
pSmpFill.Color = pRgbClr;
pSmpFill.Style = esriSimpleFillStyle.esriSFSSolid;
IBalloonCallout pBllnCallout = new BalloonCalloutClass();
pBllnCallout.Style = esriBalloonCalloutStyle.esriBCSRectangle;
pBllnCallout.Symbol = pSmpFill;
pBllnCallout.LeaderTolerance = 1;
IPoint pPoint = new ESRI.ArcGIS.Geometry.PointClass();
pPoint.X = x;
pPoint.Y = y;
pBllnCallout.AnchorPoint = pPoint;
return pBllnCallout;
}

创建气泡,布布扣,bubuko.com

创建气泡

标签:style   color   ar   new   ad   ef   rgb   on   

原文地址:http://www.cnblogs.com/3Sblogs/p/3912425.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!