Click or drag to resize

CharacterFormat Class

Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Formatting WordAttributeBase
Spire.Doc.Formatting CharacterFormat

Namespace: Spire.Doc.Formatting
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class CharacterFormat : WordAttributeBase

The CharacterFormat type exposes the following members.

Constructors
Name Description
Public method CharacterFormat
Default constructor
Top
Properties
Name Description
Public property AllCaps
Gets or sets AllCaps property of text.
Public property Bidi
Returns or sets right-to-left property of text.
Public property Bold
Returns or sets bold style
Public property BoldBidi
Returns or sets bold property for right-to-left text.
Public property Border
Gets a object that specifies border for the CharacterFormat.
Public property CharacterSpacing
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property DoubleStrike
Returns or sets double strikeout style.
Public property Emboss
Gets or sets emboss property of text.
Public property EmphasisMark
Returns or sets text emphasis mark
Public property Engrave
Gets or sets Engrave property of text.
Public property Font
Gets or setsfont.
Public property FontName
Returns or sets font name
Public property FontNameAscii
Gets or setsthe font used for Latin text (characters with character codes from 0 through 127).
Public property FontNameBidi
Gets or sets font name for right-to-left text.
Public property FontNameFarEast
Gets or sets East Asian font name.
Public property FontNameNonFarEast
Gets or sets font used for characters with character codes from 128 through 255.
Public property FontSize
Returns or sets font size
Public property FontSizeBidi
Returns or sets font size of the right-to-left text.
Public property FontTypeHint
Gets or sets the font type hint.
Public property Hidden
Gets or sets Hidden property of text.
Public property HighlightColor
Gets or sets highlight color of text.
Public property IsOutLine
Get/set outline character property.
Public property IsShadow
Gets or sets shadow property of text.
Public property IsSmallCaps
Gets or sets IsSmallCaps property of text.
Public property IsStrikeout
Returns or sets strikeout style.
Public property Italic
Returns or sets italic style
Public property ItalicBidi
Returns or sets italic property for right-to-left text.
Public property LigaturesType
Gets or sets the ligatures type.
Public property LocaleIdASCII
Gets or sets the ASCII locale id .
Public property LocaleIdFarEast
Gets or sets the far east locale id .
Public property NumberFormType
Gets or sets the number form type.
Public property NumberSpaceType
Gets or sets the number space type.
Public property Position
Returns or sets text vertical position.
Public property Shading
Gets a object that refers to the shading formatting for the CharacterFormat.
Public property Style
Gets or sets the style for the character format.
Public property StylisticSetType
Gets or sets the stylistic set type.
Public property SubSuperScript
Public property TextBackgroundColor
Gets or sets text background color
Public property TextColor
Returns or sets text color
Public property TextEffectFormat
Returns text effect format
Public property TextScale
Gets or sets a value specifies that the percentage by which the contents of a run shall be expanded or compressed with respect to its normal(100%) character width,with a minimun width of 1% and maximum width of 600%.
Public property UnderlineColor
Returns or sets underline color
Public property UnderlineStyle
Returns or sets underline style
Top
Methods
Name Description
Public method ClearBackground
Clears paragraph background.
Public method ClearFormatting
Clears the formatting.
Public method Equals (Overrides Object Equals(Object) .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also