java.lang.Object
com.aspose.words.EmphasisMark
public class EmphasisMark
- extends java.lang.Object
Utility class containing constants.
Specifies possible types of emphasis mark.
Example:
Shows how to add additional character rendered above/below the glyph-character.
DocumentBuilder builder = new DocumentBuilder();
// Possible types of emphasis mark:
// https://apireference.aspose.com/words/net/aspose.words/emphasismark
builder.getFont().setEmphasisMark(emphasisMark);
builder.write("Emphasis text");
builder.writeln();
builder.getFont().clearFormatting();
builder.write("Simple text");
builder.getDocument().save(getArtifactsDir() + "Fonts.SetEmphasisMark.docx");
Field Summary |
static final int | NONE = 0 | |
No emphasis mark.
|
static final int | OVER_SOLID_CIRCLE = 1 | |
Emphasis mark is a solid black circle displayed above text.
|
static final int | OVER_COMMA = 2 | |
Emphasis mark is a comma character displayed above text.
|
static final int | OVER_WHITE_CIRCLE = 3 | |
Emphasis mark is an empty white circle displayed above text.
|
static final int | UNDER_SOLID_CIRCLE = 4 | |
Emphasis mark is a solid black circle displayed below text.
|
NONE = 0 | |
public static final int NONE |
-
No emphasis mark.
OVER_SOLID_CIRCLE = 1 | |
public static final int OVER_SOLID_CIRCLE |
-
Emphasis mark is a solid black circle displayed above text.
OVER_COMMA = 2 | |
public static final int OVER_COMMA |
-
Emphasis mark is a comma character displayed above text.
OVER_WHITE_CIRCLE = 3 | |
public static final int OVER_WHITE_CIRCLE |
-
Emphasis mark is an empty white circle displayed above text.
UNDER_SOLID_CIRCLE = 4 | |
public static final int UNDER_SOLID_CIRCLE |
-
Emphasis mark is a solid black circle displayed below text.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.