1. private static void FlashPolygon(IMapControlDefault mapControlDefault, IGeometry iGeometry)  
  2. {  
  3.     ISimpleFillSymbol iFillSymbol;  
  4.     ISymbol iSymbol;  
  5.     IRgbColor iRgbColor;  
  6.     iFillSymbol = new SimpleFillSymbol();  
  7.     iFillSymbol.Style = esriSimpleFillStyle.esriSFSSolid;  
  8.     iFillSymbol.Outline.Width = 12;  
  9.     iRgbColor = new RgbColor();  
  10.     iRgbColor.Red = 0;  
  11.     iRgbColor.Green = 162;  
  12.     iRgbColor.Blue = 232;  
  13.     iFillSymbol.Color = iRgbColor;  
  14.     iSymbol = (ISymbol)iFillSymbol;  
  15.     iSymbol.ROP2 = esriRasterOpCode.esriROPNotXOrPen;  
  16.     mapControlDefault.ActiveView.ScreenDisplay.SetSymbol(iSymbol);  
  17.     mapControlDefault.FlashShape(iGeometry, 3, 200, iSymbol);  
  18. }  

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2021-04-05
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
猜你喜欢
  • 2022-01-11
  • 2022-01-14
  • 2021-06-05
  • 2021-06-26
相关资源
相似解决方案