emphasis_mark property
Font.emphasis_mark property
Gets or sets the emphasis mark applied to this formatting.
@property
def emphasis_mark(self) -> aspose.words.EmphasisMark:
...
@emphasis_mark.setter
def emphasis_mark(self, value: aspose.words.EmphasisMark):
...
Examples
Shows how to add additional character rendered above/below the glyph-character.
builder = aw.DocumentBuilder()
# Possible types of emphasis mark:
# https:#apireference.aspose.com/words/net/aspose.words/emphasismark
builder.font.emphasis_mark = emphasis_mark
builder.write('Emphasis text')
builder.writeln()
builder.font.clear_formatting()
builder.write('Simple text')
builder.document.save(file_name=ARTIFACTS_DIR + 'Fonts.SetEmphasisMark.docx')
See Also
- module aspose.words
- class Font