| Visual Basic (Declaration) | |
|---|---|
Public Property Angle As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int Angle {get; set;} | |
Return Value
Angle value in 1/10 of a degree. Default value is 0.| C# | Copy Code |
|---|---|
private void detail_Format(object
sender, System.EventArgs eArgs) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format | |
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.