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
Baseline The baseline alignment. |
CharacterSpacing
Gets or sets the character spacing.
Declaration
public double? CharacterSpacing
Field Value
System. The character spacing. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize
Field Value
System. The size of the font. |
HighlightColor
Gets or sets the color of the highlight.
Declaration
public ColorBase HighlightColor
Field Value
Color The color of the highlight. |
HorizontalScaling
Gets or sets the horizontal scaling.
Declaration
public double? HorizontalScaling
Field Value
System. The horizontal scaling. |
RenderingMode
Gets or sets the rendering mode.
Declaration
public RenderingMode RenderingMode
Field Value
Rendering The rendering mode. |
StrikethroughColor
Gets or sets the color of the striketrough.
Declaration
public ColorBase StrikethroughColor
Field Value
Color The color of the striketrough. |
StrikethroughPattern
Gets or sets the strikethrough pattern.
Declaration
public StrikethroughPattern StrikethroughPattern
Field Value
Strikethrough The text strikethrough pattern. |
UnderlineColor
Gets or sets the color of the underline.
Declaration
public ColorBase UnderlineColor
Field Value
Color The color of the underline. |
UnderlinePattern
Gets or sets the underline pattern.
Declaration
public UnderlinePattern UnderlinePattern
Field Value
Underline The text underline pattern. |
WordSpacing
Gets or sets the word spacing.
Declaration
public double? WordSpacing
Field Value
System. The word spacing. |
Properties
Font
Gets or sets the current font.
Declaration
public FontBase Font { get; set; }
Property Value
Font The font. |
Methods
CopyFrom(TextProperties)
Copies the text properties from other instance.
Declaration
public override void CopyFrom(TextProperties textProperties)
Parameters
Text The text properties. |
Overrides
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. |