GoGrid dot size

Hello,

We are using GoGrid with GoViewGridStyle.Dot. The dots in the grid are not the same size:

When I looked at the code, I found that each dot is actually a line, the length of the line is calculated when it’s drawn and depends on many things.

I need all of the dots be squares of the same size. How do I do this without breaking anything?

Thank you.

It’s not really this obvious unless you do a screen capture and blow the pixels way, way up, right?



There’s no SetPixel in GDI+ graphics. Our recollection was that this was the only choice.



You can override DrawGridDots and give it a try…



You could try this: http://www.bobpowell.net/pixel_dot.htm

Thank you for the suggestion. What worked better for me though was

g.FillRectangle(Brushes.Black, x, y, penwidth, penwidth);

Thanks!

Nadia.