Class TextSettings
Holds the settings to customize the text.
Inheritance
System.Object
TextSettings
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.ImageEditor
Assembly: Syncfusion.SfImageEditor.WPF.dll
Syntax
public class TextSettings : Object, INotifyPropertyChanged
Constructors
TextSettings()
Gets or sets a new instance for the TextSettings class.
Declaration
public TextSettings()
Properties
Angle
Gets or sets the rotate angle for text.
Declaration
public float Angle { get; set; }
Property Value
Type |
---|
System.Single |
Bounds
Gets or sets bounds of the text.
Declaration
public Rect Bounds { get; set; }
Property Value
Type |
---|
System.Windows.Rect |
Color
Gets or sets the color for the text.
Declaration
public Brush Color { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
EnableDrag
Gets or sets a value indicating whether text can be dragged or not.
Declaration
public bool EnableDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
FontFamily
Gets or sets the font family for the text.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
FontSize
Gets or sets size of the text.
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
IsEditable
Gets or sets a value that indicates whether text is editable or not.
Declaration
public bool IsEditable { get; set; }
Property Value
Type |
---|
System.Boolean |
Opacity
Gets or sets the opacity for the text.
Declaration
public float Opacity { get; set; }
Property Value
Type |
---|
System.Single |
TextAlignment
Gets or sets the TextAlignment for the text.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
---|
System.Windows.TextAlignment |
TextEffects
Gets or sets the TextEffects for the text.
Declaration
public TextEffects TextEffects { get; set; }
Property Value
Type |
---|
TextEffects |
Methods
OnPropertyChanged(String)
Method gets called when the property value gets changed.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The property name. |
Events
PropertyChanged
Raised whenever a property gets changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged