outline property
Font.outline property
True if the font is formatted as outline.
@property
def outline(self) -> bool:
...
@outline.setter
def outline(self, value: bool):
...
Examples
Shows how to create a run of text formatted as outline.
doc = aw.Document()
builder = aw.DocumentBuilder(doc)
# Set the "outline" flag to change the text's fill color to white and
# leave a thin outline around each character in the original color of the text.
builder.font.outline = True
builder.font.color = drawing.Color.blue
builder.font.size = 36
builder.writeln("This text has an outline.")
doc.save(ARTIFACTS_DIR + "Font.outline.docx")
See Also
- module aspose.words
- class Font