Steps to reproduce:
Apply this PrintDocument
transformation while printing with XtraReport.Print
:
C#private static void PrintDocument_PrintPage(object sender, PrintPageEventArgs e)
{
Graphics g = e.Graphics;
Rectangle pageBounds = e.PageBounds;
pageBounds = GraphicsUnitConverter.Convert(pageBounds, GraphicsDpi.HundredthsOfAnInch, GraphicsDpi.Document);
g.PageUnit = GraphicsUnit.Document;
//g.FillRectangle(Brushes.White, pageBounds);
if (Rotate == ReportRotation.ClockWise)
{
g.TranslateTransform(pageBounds.Width, 0);
g.RotateTransform(90);
}
else if (Rotate == ReportRotation.CounterClockWise)
{
g.TranslateTransform(0, pageBounds.Height);
g.RotateTransform(-90);
}
}
Current results:
All control borders are lost / become invisible.
Additional information:
This behavior does not depend on any particular printer model or type.