New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class CharacterProperties

Inheritance: objectCharacterProperties

Constructors

Initializes a new instance of the CharacterProperties class.

C#
public CharacterProperties()

Methods

Copies the properties from.

C#
public void CopyPropertiesFrom(CharacterProperties fromProperties)
Parameters:fromPropertiesCharacterProperties

From properties.

Tries to set the current font.

C#
public bool TrySetFont(FontFamily fontFamily, FontStyle fontStyle, FontWeight fontWeight)
Parameters:fontFamilyFontFamily

The font family.

fontStyleFontStyle

The font style.

fontWeightFontWeight

The font weight.

Returns:

bool

True if succeeded.

Tries to set the current font.

C#
public bool TrySetFont(FontFamily fontFamily)
Parameters:fontFamilyFontFamily

The font family.

Returns:

bool

True if succeeded.

Properties

Gets or sets the baseline alignment.

C#
public BaselineAlignment BaselineAlignment { get; set; }
Property Value:

The baseline alignment.

Gets or sets the font.

C#
public FontBase Font { get; set; }
Property Value:

The font.

Gets or sets the size of the font.

C#
public double FontSize { get; set; }
Property Value:

The size of the font.

Gets or sets the color of the foreground.

C#
public ColorBase ForegroundColor { get; set; }
Property Value:

The color of the foreground.

Gets or sets the color of the highlight.

C#
public ColorBase HighlightColor { get; set; }
Property Value:

The color of the highlight.

Gets or sets the color of the strikethrough.

C#
public ColorBase StrikethroughColor { get; set; }
Property Value:

The color of the strikethrough.

Gets or sets the strikethrough pattern.

C#
public StrikethroughPattern StrikethroughPattern { get; set; }
Property Value:

The strikethrough pattern.

Gets or sets the color of the underline.

C#
public ColorBase UnderlineColor { get; set; }
Property Value:

The color of the underline.

Gets or sets the underline pattern.

C#
public UnderlinePattern UnderlinePattern { get; set; }
Property Value:

The underline pattern.