iam using DevExpress v.10.2 and want to show XRLabel on XtraReport with an angle. If iam uses the constructor, it works fine. But now I want to do this at runtime, because Label.Text is dynamic. My problem is that the report does not show my label. I read an article on DevExpress support that describes that it just works with the PDF format. But in my case, I just see a little gray line. I tried to follow just to populate my XRLabel for the first:
XRLabel druckinfo = new XRLabel();
druckinfo.Text = string.Format("SB{0} {1} EMAIL {2}", _Sachbearbeiter.Sbnr, _Kennung,
_Sachbearbeiter.Email1);
druckinfo.Visible = true;
druckinfo.AutoWidth = false;
druckinfo.Angle = 90;
druckinfo.Font = new Font("Arial", 6f);
band.Controls.Add(druckinfo);
druckinfo.HeightF = 500f;
druckinfo.LocationF = new PointF(400f, 400f);
druckinfo.Borders = DevExpress.XtraPrinting.BorderSide.All;
If I delete the following line:
druckinfo.Angle = 90;
The label becomes beautiful, but without a corner.
Here is a screenshot that shows the shortcut with the top settings in PDF format:
These are the settings for my report:
_Report.PaperKind = PaperKind.A4;
_Report.ReportUnit = ReportUnit.HundredthsOfAnInch;
_Report.ShowPrintMarginsWarning = false;
_Report.Margins = new Margins(0, 0, 0, 0);
All other properties are by default. The existing ranges are as follows:
PageHeaderBand
DetailBand
PageFooterBand