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 ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CharacterProperties

Defines a set of properties which will be applied when an inline is created.

Inheritance
System.Object
CharacterProperties
Inherited Members
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.Flow
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class CharacterProperties

Constructors

CharacterProperties()

Initializes a new instance of the CharacterProperties class.

Declaration
public CharacterProperties()

Properties

BaselineAlignment

Gets or sets the baseline alignment.

Declaration
public BaselineAlignment BaselineAlignment { get; set; }
Property Value
BaselineAlignment

The baseline alignment.

Font

Gets or sets the font.

Declaration
public FontBase Font { get; set; }
Property Value
FontBase

The font.

FontSize

Gets or sets the size of the font.

Declaration
public double FontSize { get; set; }
Property Value
System.Double

The size of the font.

ForegroundColor

Gets or sets the color of the foreground.

Declaration
public ColorBase ForegroundColor { get; set; }
Property Value
ColorBase

The color of the foreground.

HighlightColor

Gets or sets the color of the highlight.

Declaration
public ColorBase HighlightColor { get; set; }
Property Value
ColorBase

The color of the highlight.

UnderlineColor

Gets or sets the color of the underline.

Declaration
public ColorBase UnderlineColor { get; set; }
Property Value
ColorBase

The color of the underline.

UnderlinePattern

Gets or sets the underline pattern.

Declaration
public UnderlinePattern UnderlinePattern { get; set; }
Property Value
UnderlinePattern

The underline pattern.

Methods

CopyPropertiesFrom(CharacterProperties)

Copies the properties from.

Declaration
public void CopyPropertiesFrom(CharacterProperties fromProperties)
Parameters
CharacterProperties fromProperties

From properties.

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.

Was this article helpful?

Tell us how we can improve this article

Skip
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.