Class CharacterFormat
Represents the CharacterFormat class.
Implements
Inherited Members
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 |