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 Character
Declaration
public CharacterProperties()
Properties
BaselineAlignment
Gets or sets the baseline alignment.
Declaration
public BaselineAlignment BaselineAlignment { get; set; }
Property Value
Baseline The baseline alignment. |
Font
Gets or sets the font.
Declaration
public FontBase Font { get; set; }
Property Value
Font The font. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System. The size of the font. |
ForegroundColor
Gets or sets the color of the foreground.
Declaration
public ColorBase ForegroundColor { get; set; }
Property Value
Color The color of the foreground. |
HighlightColor
Gets or sets the color of the highlight.
Declaration
public ColorBase HighlightColor { get; set; }
Property Value
Color The color of the highlight. |
StrikethroughColor
Gets or sets the color of the striketrough.
Declaration
public ColorBase StrikethroughColor { get; set; }
Property Value
Color The color of the striketrough. |
StrikethroughPattern
Gets or sets the strikethrough pattern.
Declaration
public StrikethroughPattern StrikethroughPattern { get; set; }
Property Value
Strikethrough The strikethrough pattern. |
UnderlineColor
Gets or sets the color of the underline.
Declaration
public ColorBase UnderlineColor { get; set; }
Property Value
Color The color of the underline. |
UnderlinePattern
Gets or sets the underline pattern.
Declaration
public UnderlinePattern UnderlinePattern { get; set; }
Property Value
Underline The underline pattern. |
Methods
CopyPropertiesFrom(CharacterProperties)
Copies the properties from.
Declaration
public void CopyPropertiesFrom(CharacterProperties fromProperties)
Parameters
Character From properties. |
TrySetFont(FontFamily)
Tries to set the current font.
Declaration
public bool TrySetFont(FontFamily fontFamily)
Parameters
System. The font family. |
Returns
System. 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. The font family. |
System. The font style. |
System. The font weight. |
Returns
System. True if succeeded. |