GrapeCity MultiRow Windows Forms Documentation
TextAngle Property (CellNoteStyle)


Gets or sets the text rotation angle, in degrees.
Syntax
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAngleEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<SRDescriptionAttribute("Indicates the rotation angle for text in degrees.")>
<DefaultValueAttribute()>
<SRCategoryAttribute("TextAppearance")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property TextAngle As Single
Dim instance As CellNoteStyle
Dim value As Single
 
instance.TextAngle = value
 
value = instance.TextAngle
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAngleEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[SRDescription("Indicates the rotation angle for text in degrees.")]
[DefaultValue()]
[SRCategory("TextAppearance")]
[RefreshProperties(RefreshProperties.Repaint)]
public float TextAngle {get; set;}

Property Value

A System.Single value that represents the rotation angle for text in degrees. The default is System.Single.NaN. This means the value is inherited.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe assigned value is less than -90 or greater than 90.
Remarks
Note:
This property only takes effect when the UseCompatibleTextRendering property value is MultiRowTriState.True.
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

Reference

CellNoteStyle Class
CellNoteStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.