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