Select to view content in your preferred language

How to Change the   Polyline's  width and style ?

925
0
11-04-2010 06:14 PM
jackcowper
Deactivated User
Hi,everybody, I need somehelp for how to  Change the   Polyline's  width and style ,in the following code,I have used DrawPolyline method to draw polyline on the map ,but I find that  the polyline's width is too narrow,also I don't like the style that the polyline is used ,so ,what should I do with the polyline?
Any reply will be appreciated,Thanks.


  private void map1_Paint(object sender, MapPaintEventArgs e)
        {

     if (m_polyline == null || m_polyline.IsEmpty)
        return;

      // Draws the polygon geometry
      e.Display.DrawPolyline(new Pen(Color.Blue), m_polyline);

   }
0 Kudos
0 Replies