GrapeCity.Win.MultiRow Namespace > CellNoteStyle Class : TextAdjustment Property |
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")> <RefreshPropertiesAttribute(RefreshProperties.Repaint)> <SRCategoryAttribute("TextAppearance")> <SRDescriptionAttribute("Indicates how to do adjustment in the layout of text.")> <DefaultValueAttribute()> Public Property TextAdjustment As TextAdjustment
Dim instance As CellNoteStyle Dim value As TextAdjustment instance.TextAdjustment = value value = instance.TextAdjustment
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")] [RefreshProperties(RefreshProperties.Repaint)] [SRCategory("TextAppearance")] [SRDescription("Indicates how to do adjustment in the layout of text.")] [DefaultValue()] public TextAdjustment TextAdjustment {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The specified value is not one of the TextAdjustment values. |
This property is for arranging the text. To change the text position, use the TextAlign property.
Note: |
---|
The TextAdjustment.Justify, TextAdjustment.Distribute, and TextAdjustment.DistributeWithSpace values only take effect when the UseCompatibleTextRendering property is set to MultiRowTriState.True. |
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