font property

font property

Represents the font of shape.

Example

from aspose.pydrawing import Color

font = shape.font
font.name = "Arial"
font.size = 12
font.color = Color.red

Definition:

@property
def font(self):
    ...
@font.setter
def font(self, value):
    ...

See Also