skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextProperties

Represents the text state properties.

Inheritance
System.Object
PropertiesBase<TextProperties>
TextProperties
Inherited Members
PropertiesBase<TextProperties>.Save()
PropertiesBase<TextProperties>.Restore()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class TextProperties : PropertiesBase<TextProperties>

Constructors

TextProperties()

Initializes a new instance of the TextProperties class.

Declaration
public 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
Telerik.Windows.Documents.Fixed.Model.Editing.PropertiesBase<Telerik.Windows.Documents.Fixed.Model.Editing.TextProperties>.CopyFrom(Telerik.Windows.Documents.Fixed.Model.Editing.TextProperties)

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.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.