Hi,
I am trying to set OutLine Color using DrawLine method. It’s not available for setting it.
I want to set Outline color using DrawLine method.
Code :
Vertex vcenter = new Vertex(screenCenterPoint.X, screenCenterPoint.Y);
Vertex vdir = new Vertex((float)screenDirPoint.X, screenDirPoint.Y);
PointShape centerpoint = ExtentHelper.ToWorldCoordinate(canvas.CurrentWorldExtent, (float)vcenter.X, (float)vcenter.Y, canvas.Width, canvas.Height);
PointShape dirpoint = ExtentHelper.ToWorldCoordinate(canvas.CurrentWorldExtent, (float)vdir.X, (float)vdir.Y, canvas.Width, canvas.Height);
LineShape ldir = new LineShape();
ldir.Vertices.Add(new Vertex(centerpoint));
ldir.Vertices.Add(new Vertex(dirpoint));
canvas.DrawLine(new Feature(ldir), new GeoPen(GeoColor.FromArgb(255, 127, 127, 127), (float)0.5), DrawingLevel);
Result :
Expected Result :
Is it possible to set outline color.
Please suggest me any solution for it.
Thanks,
Riyaz