Where should I post this C# gdi+ question?
Jon Jacobs
86
Reputation points
In C# I have this code:
private void DrawPageSeparator(int i, int Offset, Bitmap b)
{
if (i < 1) return;
Color Sep = Color.Black;
Pen pen = new Pen(Sep, 2);
g.DrawLine(pen, 0, Offset, b.Width-1, Offset);
}
Instead of Black the image gets a light gray line. If I use Color.Red, I still get the same light gray line.
Why?
Sign in to answer