Class TextProperties
Represents the text state properties.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class TextProperties : PropertiesBase<TextProperties>
Constructors
TextProperties()
Fields
BaselineAlignment
Gets or sets the baseline alignment.
Declaration
public BaselineAlignment BaselineAlignment
Field Value
BaselineAlignment
The baseline alignment. |
CharacterSpacing
Gets or sets the character spacing.
Declaration
public double? CharacterSpacing
Field Value
System.Nullable<System.Double>
The character spacing. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize
Field Value
System.Double
The size of the font. |
HighlightColor
Gets or sets the color of the highlight.
Declaration
public ColorBase HighlightColor
Field Value
ColorBase
The color of the highlight. |
HorizontalScaling
Gets or sets the horizontal scaling.
Declaration
public double? HorizontalScaling
Field Value
System.Nullable<System.Double>
The horizontal scaling. |
RenderingMode
Gets or sets the rendering mode.
Declaration
public RenderingMode RenderingMode
Field Value
RenderingMode
The rendering mode. |
StrikethroughColor
Gets or sets the color of the striketrough.
Declaration
public ColorBase StrikethroughColor
Field Value
ColorBase
The color of the striketrough. |
StrikethroughPattern
Gets or sets the strikethrough pattern.
Declaration
public StrikethroughPattern StrikethroughPattern
Field Value
StrikethroughPattern
The text strikethrough pattern. |
UnderlineColor
Gets or sets the color of the underline.
Declaration
public ColorBase UnderlineColor
Field Value
ColorBase
The color of the underline. |
UnderlinePattern
Gets or sets the underline pattern.
Declaration
public UnderlinePattern UnderlinePattern
Field Value
UnderlinePattern
The text underline pattern. |
WordSpacing
Gets or sets the word spacing.
Declaration
public double? WordSpacing
Field Value
System.Nullable<System.Double>
The word spacing. |
Properties
Font
Gets or sets the current font.
Declaration
public FontBase Font { get; set; }
Property Value
FontBase
The font. |
Methods
CopyFrom(TextProperties)
Copies the text properties from other instance.
Declaration
public override void CopyFrom(TextProperties textProperties)
Parameters
TextProperties
textProperties
The text properties. |
Overrides
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. |