color of a shape (line and point)

Sep 6, 2011 at 3:10 PM
Edited Sep 7, 2011 at 12:04 PM
Previously I have already posted a message on this, but ultimately the problem is not resolved. 

Let me explain, the following code works well for polygons but does not work for points and lines.

I adapted the code for lines and points (FillColor -> linecolor, etc ...) but does not work
Sep 7, 2011 at 12:48 PM
Edited Sep 7, 2011 at 12:52 PM

For short :

It's work ->

sfPoly.Categories.Item(0).DrawingOptions.FillColor = RGB(0, 255, 255)

Does not work ->

sfLine.Categories.Item(0).DrawingOptions.LineColor = RGB(0, 255, 255)

sfPoint.Categories.Item(0).DrawingOptions.PointColor = RGB(0, 255, 255) 'etc...
Sep 8, 2011 at 9:37 AM

The aim is to highlight a selection, I found another solution:

myShapeFile.ShapeSelected (shpIndex) = true
myShape.SelectionColor = RGB (R, G, B)

It remains a problem, this method works but neglects the width of the lines, I have to keep the default value for the width of the lines. A solution?