complex_script property
Font.complex_script 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.
@property
def complex_script(self) -> bool:
...
@complex_script.setter
def complex_script(self, value: bool):
...
Examples
Shows how to add text that is always treated as complex script.
doc = aw.Document()
builder = aw.DocumentBuilder(doc=doc)
builder.font.complex_script = True
builder.writeln('Text treated as complex script.')
doc.save(file_name=ARTIFACTS_DIR + 'Font.ComplexScript.docx')
See Also
- module aspose.words
- class Font