Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
A font is a set of characters with a certain size, color, and design. Aspose.Words allows you to work with fonts using various font-related classes, including the Font class.
Current font formatting is represented by a Font object returned by the Font property. The Font class contains a wide variety of font properties possible in Microsoft Word.
The following code example shows how to set font formatting:
Fill properties now are also available for fonts to set fill formatting of text. It gives an ability to change, for example, the foreground color or transparency of text fill.
The line spacing of a font is the vertical distance between the baselines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of the character itself.
The LineSpacing property was introduced in the Font class to obtain this value as shown in the example given below:
The Font class provides EmphasisMark property to get or set EmphasisMark enumeration values to be applied in the formatting.
The following code example shows how to set the EphasisMark property:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.