标签: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;
}
标签:style color ar new ad ef rgb on
原文地址:http://www.cnblogs.com/3Sblogs/p/3912425.html