Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / FontBase Class
Properties Methods

In This Topic
    FontBase Class Members
    In This Topic

    The following tables list the members exposed by FontBase.

    Public Properties
     NameDescription
    Public Property Gets or sets a value indicating whether the font is formatted as all capital letters.  
    Public Property Gets or sets a value indicating whether the given run shall always behave as if it is hidden, even when hidden text is being displayed in the current document.  
    Public Property Gets or sets the font animation effect.  
    Public Property Gets or sets a value indicating whether the contents shall be treated as complex script text regardless of their Unicode character values when determining the formatting. This means that a consumer shall use the complex script formatting (e.g. BoldBi, ItalicBi...) applied by this font when determining the resulting formatting properties.  
    Public Property Gets or sets a value indicating whether the font is formatted as bold.  
    Public Property Gets or sets whether the bold property shall be applied to all complex script characters in the contents when displayed in a document.  
    Public PropertyGets the Border object that specifies borders for the font.  
    Public Property Gets the color of the font.  
    Public Property Gets or sets a value indicating whether the current run should use the document grid characters per line settings defined in the Document.Grid property when laying out the contents in this run. This setting determines whether the additional character pitch specified in the document grid shall be added to each character in this run as specified by the document grid.  
    Public Property Gets or sets a value indicating whether the font is formatted as double strikethrough text.  
    Public Property Gets East Asian typography settings which shall be applied to the contents of the run.  
    Public Property Gets or sets a value indicating whether the font is formatted as embossed.  
    Public PropertyGets or sets a EmphasisMark constant that represents the emphasis mark for a character or designated character string.  
    Public Property Gets or sets a value indicating whether the font is formatted as engraved.  
    Public PropertyGets or sets a unique ID which shall be used to link multiple contiguous runs with specified FitTextWidth property to each other to ensure that their contents are correctly merged into the specified width in the document. This means that multiple runs which are broken apart due to differences in formatting can be identified as belonging to the same grouping in terms of FitText properties, although they are multiple runs of text in the document.  
    Public Property Gets or sets that the contents of the run shall not be automatically displayed based on the width of its contents, rather its contents shall be resized to fit the width specified by the this property. This expansion/contraction shall be performed by equally increasing/decreasing the size of each character in the run's contents when displayed.  
    Public Property Gets or sets a value indicating whether the font is formatted as hidden text.  
    Public Property Gets or sets the font type that shall be used to format any ambiguous characters.  
    Public PropertyGets or sets a value indicating whether the font is formatted as italic.

    In an Office Math zone this property takes into account the GrapeCity.Documents.Word.OMathFormat.Style property.

     
    Public PropertyGets or sets a value indicating whether Italic shall be applied to all complex script characters in the contents when displayed in a document.

    In an Office Math zone this property takes into account the GrapeCity.Documents.Word.OMathFormat.Style property.

     
    Public Property Gets or sets the font size at which kerning starts.  
    Public Property Gets or sets the locale name (language) of the formatted characters.  
    Public Property Gets or sets the locale name (language) of the complex script characters.  
    Public Property Gets or sets the locale name (language) of the formatted Asian characters.  
    Public PropertyGets or sets the name of the font.

    When getting, returns NameAscii by default. If HintType is FontHintType.ComplexScript returns NameBi. If HintType is FontHintType.EastAsia returns NameFarEast.

    When setting, sets NameAscii, NameBi, NameFarEast and NameOther to the specified value.

    In an Office Math zone this property takes into account the OMathOptions.Font property.

     
    Public PropertyGets or sets the font used for Latin text (characters with character codes from 0 (zero) through 127).

    In an Office Math zone this property takes into account the OMathOptions.Font property.

     
    Public PropertyGets or sets the name of the font used for complex script characters.

    In an Office Math zone this property takes into account the OMathOptions.Font property.

     
    Public PropertyGets or sets an East Asian font name.

    In an Office Math zone this property takes into account the OMathOptions.Font property.

     
    Public PropertyGets or sets the font used for characters with character codes from 128 through 255.

    In an Office Math zone this property takes into account the OMathOptions.Font property.

     
    Public Property Gets or sets a value indicating whether the formatted characters are not to be spell checked.  
    Public Property Gets or sets a value indicating whether the font is formatted as outline.  
    Public Property Gets or sets the position of text (in points) relative to the base line. A positive number raises the text, and a negative number lowers it.  
    Public Property Gets or sets the character width scaling in percent.  
    Public PropertyGets the Shading object that refers to the shading formatting for the font.  
    Public Property Gets or sets a value indicating whether the font is formatted as shadowed.  
    Public Property Gets or sets the font size in points.  
    Public Property Gets or sets the font size in points used for all complex script characters in the contents when displayed in a document.  
    Public Property Gets or sets a value indicating whether the font is formatted as small capital letters.  
    Public Property Gets or sets the spacing (in points) between characters.  
    Public Property Gets or sets a value indicating whether the font is formatted as strikethrough text.  
    Public Property Gets or sets a theme font that shall be used to format all characters in the Unicode range (U+0000U+007F) within the parent. This theme font is a reference to one of the predefined theme fonts, which allows for font information to be set centrally in the document.  
    Public Property Gets or sets a theme font that shall be used to format all characters in a complex script Unicode range. This theme font is a reference to one of the predefined theme fonts, which allows for font information to be set centrally in the document.  
    Public Property Gets or sets a theme font that shall be used to format all characters in an East Asian Unicode range. This theme font is a reference to one of the predefined theme fonts, which allows for font information to be set centrally in the document.  
    Public Property Gets or sets a theme font that shall be used to format all characters in a Unicode range that does not fall into one of the three categories defined above. This theme font is a reference to one of the predefined theme fonts, which allows for font information to be set centrally in the document.  
    Public Property Gets or sets the type of underline applied to the font.  
    Public Property Gets the color of the underline applied to the font.  
    Public Property Gets or sets the alignment that shall be applied to the contents in relation to the default appearance of the text. This allows the text to be repositioned as subscript or superscript without altering the font size.  
    Public Property Gets or sets a value indicating whether the contents shall be hidden in a document when the document is being displayed in a web page view.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden.  Resets to default font formatting.  
    Top
    See Also