Hi,
I created programmatically the report which includes horizontal lines. I defined them this way:
var shape = new Shape();
shape.Location = new PointU(new Unit(positionX - MARGIN_COLUMN_HORIZONTAL, UnitType.Pixel),
new Unit(DEFAULT_HEIGTH, UnitType.Pixel));
shape.Size = new SizeU(new Unit(widthColumn, UnitType.Pixel),
new Unit(1, UnitType.Pixel));
shape.ShapeType = new LineShape(LineDirection.EW);
shape.Visible = true;
// add to report
headerBoxes.Add(shape);
It works fine and I see all lines in my ReportViewer. But lines are missing if I print or export it. They are visible only on XPS or HTML export. Maybe some other property must be set or is it known bug?
Thank you for answer,
Petr