ActiveReports 8
Angle Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Label Class : Angle Property

Glossary Item Box

Gets or sets the angle (slope) of the text within the control area. 

Syntax

Visual Basic (Declaration) 
Public Property Angle As System.Integer
C# 
public System.int Angle {get; set;}

Property Value

Angle value in 1/10 of a degree.  Default value is 0.

Remarks

To set a label's angle to 90 degrees, set the Angle property to 900, and be sure the height of the control will accommodate the text, as labels do not grow automatically.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.label1.Angle = 900;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Label1.Angle = 900
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also