Aspose::Words::Font::set_EmphasisMark method

Font::set_EmphasisMark method

Sets the emphasis mark applied to this formatting.

void Aspose::Words::Font::set_EmphasisMark(Aspose::Words::EmphasisMark value)

Examples

Shows how to add additional character rendered above/below the glyph-character.

auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>();

// Possible types of emphasis mark:
// https://apireference.aspose.com/words/net/aspose.words/emphasismark
builder->get_Font()->set_EmphasisMark(emphasisMark);

builder->Write(u"Emphasis text");
builder->Writeln();
builder->get_Font()->ClearFormatting();
builder->Write(u"Simple text");

builder->get_Document()->Save(get_ArtifactsDir() + u"Fonts.SetEmphasisMark.docx");

See Also