Hi,
is their a chance to rotate a label in my report by designer of VS2010 (through a property of it or little points at the object it self, like changing its size)?
At this time I only found the way by creating a report at runtime in code behind (see example and reportPreview image) and adding a label at x,y to it with an angle :(
Same thing with a rounded border...
Thx
Example:
Infragistics.Documents.Reports.Report.Text.IText stationeryText = stationery.AddText(200, 400, -45);
stationeryText.Style = new Style(new Font("Verdana", 72), Brushes.Silver);
new
stationeryText.AddContent("DRAFT");
and:
Infragistics.Documents.Reports.Report.Text.IText decorationText = decoration.AddText(350, 650, -15);
decorationText.Style = new Style(new Font("Verdana", 40), Brushes.Red);
decorationText.Width = new RelativeWidth(35);
decorationText.Borders = new Borders(new Pen(Colors.Red, 3, DashStyle.Solid), 10);
decorationText.AddContent("REJECTED");
Results in:
Hi prinzj,
Are you asking if the rotating text feature is available in the Infragistics Reporting product? Currently this is not possible. You would need to add an image to your report of the rotated text.
I'm a little confused as to the code you provided. It's not possible to modify a report at runtime in code using the Infragistics Reporting product. Reports can only be created and modified using the provided Report designer. What platform and product are you asking about?
yes that's correct.
A little google search before results in this:
http://help.infragistics.com/Help/NetAdvantage/jQuery/2012.1/CLR4.0/html/DocumentEngine_Section_Element.html
I've seen this rotated labels and thought their will be also available in .NET Forms 12.2 (latest release) product from you.
I didn't tested to create a report with code lines, because I try to use always the designer if possible ;)
So....hope this will be a feature in future, cause I need a dynamic setted label (rotated) in my report.
Thx for reply