Class CharacterProperties
Defines a set of properties which will be applied when an inline is created.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing.Flow
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class CharacterProperties
Constructors
CharacterProperties()
Initializes a new instance of the CharacterProperties class.
Declaration
public CharacterProperties()
Properties
BaselineAlignment
Gets or sets the baseline alignment.
Declaration
public BaselineAlignment BaselineAlignment { get; set; }
Property Value
BaselineAlignment
The baseline alignment. |
Font
Gets or sets the font.
Declaration
public FontBase Font { get; set; }
Property Value
FontBase
The font. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
The size of the font. |
ForegroundColor
Gets or sets the color of the foreground.
Declaration
public ColorBase ForegroundColor { get; set; }
Property Value
ColorBase
The color of the foreground. |
HighlightColor
Gets or sets the color of the highlight.
Declaration
public ColorBase HighlightColor { get; set; }
Property Value
ColorBase
The color of the highlight. |
StrikethroughColor
Gets or sets the color of the striketrough.
Declaration
public ColorBase StrikethroughColor { get; set; }
Property Value
ColorBase
The color of the striketrough. |
StrikethroughPattern
Gets or sets the strikethrough pattern.
Declaration
public StrikethroughPattern StrikethroughPattern { get; set; }
Property Value
StrikethroughPattern
The strikethrough pattern. |
UnderlineColor
Gets or sets the color of the underline.
Declaration
public ColorBase UnderlineColor { get; set; }
Property Value
ColorBase
The color of the underline. |
UnderlinePattern
Gets or sets the underline pattern.
Declaration
public UnderlinePattern UnderlinePattern { get; set; }
Property Value
UnderlinePattern
The underline pattern. |
Methods
CopyPropertiesFrom(CharacterProperties)
Copies the properties from.
Declaration
public void CopyPropertiesFrom(CharacterProperties fromProperties)
Parameters
CharacterProperties
fromProperties
From properties. |
TrySetFont(FontFamily)
Tries to set the current font.
Declaration
public bool TrySetFont(FontFamily fontFamily)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
Returns
System.Boolean
True if succeeded. |
TrySetFont(FontFamily, FontStyle, FontWeight)
Tries to set the current font.
Declaration
public bool TrySetFont(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight)
Parameters
System.Windows.Media.FontFamily
fontFamily
The font family. |
System.Windows.FontStyle
fontStyle
The font style. |
System.Windows.FontWeight
fontWeight
The font weight. |
Returns
System.Boolean
True if succeeded. |