Aspose::Words::Font::set_ComplexScript method
Font::set_ComplexScript method
Specifies whether the contents of this run shall be treated as complex script text regardless of their Unicode character values when determining the formatting for this run.
void Aspose::Words::Font::set_ComplexScript(bool value)
Examples
Shows how to add text that is always treated as complex script.
auto doc = System::MakeObject<Aspose::Words::Document>();
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);
builder->get_Font()->set_ComplexScript(true);
builder->Writeln(u"Text treated as complex script.");
doc->Save(get_ArtifactsDir() + u"Font.ComplexScript.docx");
See Also
- Class Font
- Namespace Aspose::Words
- Library Aspose.Words for C++