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.UWP.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 |
---|
Windows.Foundation.Rect |
Color
Gets or sets the color for the text.
Declaration
public Brush Color { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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 |
---|
Windows.UI.Xaml.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 |
IsResizable
Gets or sets the IsResizable
Declaration
public bool IsResizable { 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 |
ShapeID
Gets the unique Id of the text.
Declaration
public int ShapeID { get; }
Property Value
Type |
---|
System.Int32 |
TextAlignment
Gets or sets the TextAlignment for the text.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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