Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
180
Label rotation and rounded Borders
posted

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); 
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:



Parents Reply Children
No Data