Interface ITextEditor
Interface to text editing components.
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public interface ITextEditor
Properties
Bold
Gets or sets a value that indicates whether this Font is bolded in the Diagram control TextEditor.
Declaration
bool Bold { get; set; }
Property Value
Type |
---|
System.Boolean |
CharOffset
Gets or sets no of Characters to Offset
Declaration
int CharOffset { get; set; }
Property Value
Type |
---|
System.Int32 |
CurrentText
Gets or sets the current text.
Declaration
string CurrentText { get; set; }
Property Value
Type |
---|
System.String |
FontFamily
Gets or sets to specify the font name for a text of text node in Diagram control.
Declaration
string FontFamily { get; set; }
Property Value
Type |
---|
System.String |
HorizontalAlignment
Specifies how an object or text in a control is horizontally aligned relative to an element of the control.
Declaration
StringAlignment HorizontalAlignment { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
Italic
Gets or sets to indicate whether this font has the italic style to truly slanted and appear in Diagram control.
Declaration
bool Italic { get; set; }
Property Value
Type |
---|
System.Boolean |
Lower
Gets or sets a value indicating whether text is Lower.
Declaration
bool Lower { get; set; }
Property Value
Type |
---|
System.Boolean |
PointSize
Gets or sets size of font in points.
Declaration
float PointSize { get; set; }
Property Value
Type |
---|
System.Single |
Strikeout
Gets or sets a value that indicates whether this font specifies a horizontal line through the text in Diagram control.
Declaration
bool Strikeout { get; set; }
Property Value
Type |
---|
System.Boolean |
Subscript
Gets or sets a value that indicates whether a distinguishing character or symbol written directly beneath or next to and slightly below the text.
Declaration
bool Subscript { get; set; }
Property Value
Type |
---|
System.Boolean |
Superscript
Gets or sets a value indicating whether text is Superscript.
Declaration
bool Superscript { get; set; }
Property Value
Type |
---|
System.Boolean |
TextColor
Gets or sets a value that indicates to specify the color of the text in Diagram�s TextEditor.
Declaration
Color TextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Underline
Gets or sets a value that indicates whether to underline the text in Diagram�s TextEditor.
Declaration
bool Underline { get; set; }
Property Value
Type |
---|
System.Boolean |
Upper
Gets or sets a value indicating whether text is Upper.
Declaration
bool Upper { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
BeginEdit(Node)
Starts editing node.
Declaration
bool BeginEdit(Node nodeEditing)
Parameters
Type | Name | Description |
---|---|---|
Node | nodeEditing | node to edit |
Returns
Type | Description |
---|---|
System.Boolean | success operation value |
EndEdit(Boolean)
Ends node editing.
Declaration
void EndEdit(bool bSaveChanges)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bSaveChanges | if set to |