complexScript property

Font.complexScript property

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.

get complexScript(): boolean

Examples

Shows how to add text that is always treated as complex script.

let doc = new aw.Document();
let builder = new aw.DocumentBuilder(doc);

builder.font.complexScript = true;

builder.writeln("Text treated as complex script.");

doc.save(base.artifactsDir + "Font.complexScript.docx");

See Also