View Single Post

  #1 (permalink)  
Old 09-20-2004
vidyakulkarni vidyakulkarni is offline
Junior Member
Yellow Belt
 
Join Date: Jul 2004
Posts: 14
Fill the shapes with colors problem

HI
i am building my application in C# , i created Mapppoint shapes now i need to fill those shapes with yellow color. but when i say this


MyShape = oMap.Shapes.AddLine(objLoc1,objLoc2);
MyShpe.Fill.ForeColor = Color.Red;

then error comes that
"Can not convert implicitly System.drawing.color to int.
please help me.
Reply With Quote