I'm trying to create a transparent Polygon in ArcMap; however, it's never transparent. Here's the code I have.
// Create polygon
IPolygon polygon = new PolygonClass();
// create & add points,......
// Create lineSymbol
ISimpleLineSymbol lineSymbol = new SimpleLineSymbolClass();
// set color & style,....
// Create fillSymbol
ISimpleFillSymbol fillSymbol = new SimpleFillSymbolClass();
fillSymbol.Outline = lineSymbol;
fillSymbol.Color = //set to color red//;
fillSymbol.Color.Transparent = 0;
fillSymbol.Style = esriSimpleFillStyle.esriSFSSolid;
// Draw Shape
myMap.DrawShape(polygon, fillSymbol);
RESULT ==> A solid red polygon is drawn. The Transparent setting is ignored.
Thoughts?