ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CharacterFormat - ASP.NETCore API Reference | Syncfusion CharacterFormat class. ">

    Show / Hide Table of Contents

    Class CharacterFormat

    Represents the CharacterFormat class.

    Inheritance
    System.Object
    BaseNode
    CharacterFormat
    Implements
    System.Runtime.Serialization.ISerializable
    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: Syncfusion.EJ.DocumentEditor
    Assembly: Syncfusion.EJ.DocumentEditor.dll
    Syntax
    public class CharacterFormat : BaseNode, ISerializable

    Constructors

    CharacterFormat()

    Initializes a new instance of the CharacterFormat class.

    Declaration
    public CharacterFormat()

    Properties

    BaselineAlignment

    Identifies the BaselineAlignment dependency property.

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

    Bold

    Gets or sets a value indicating whether the CharacterFormat represents bold.

    Declaration
    public bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    FontColor

    Identifies the FontColor dependency property.

    Declaration
    public string FontColor { get; set; }
    Property Value
    Type Description
    System.String

    FontFamily

    Identifies the FontFamily dependency property.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Identifies the FontSize dependency property.

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

    HighlightColor

    Gets or Sets the HighlightColor.

    Declaration
    public HighlightColor HighlightColor { get; set; }
    Property Value
    Type Description
    HighlightColor

    Italic

    Gets or sets a value indicating whether the CharacterFormat represents italic.

    Declaration
    public bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    StrikeThrough

    Gets or Sets the StrikeThrough style.

    Declaration
    public StrikeThrough StrikeThrough { get; set; }
    Property Value
    Type Description
    StrikeThrough

    Underline

    Gets or Sets the Underline style.

    Declaration
    public Underline Underline { get; set; }
    Property Value
    Type Description
    Underline

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

    Declaration
    public void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo to populate with data.

    System.Runtime.Serialization.StreamingContext context

    The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

    Exceptions
    Type Condition
    System.Security.SecurityException

    Implements

    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved