Aspose::Words::Font::get_ComplexScript method

Font::get_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.

_Bool Aspose::Words::Font::get_ComplexScript()

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