Font module

class Font.Font

Bases: SpireObject

property Bold: bool
Clone() SpireObject
Equals(obj: SpireObject) bool
FromLogFont

A function that is part of a class.

This wrapper provides a mechanism that allows the function to be constructed with a reference to the class that it owns. The construction is deferred until __set_name__ is called.

Parameters:
  • class_name (str) – Name of the class that owns the function.

  • construct_function (function) – Constructor for the function: takes in a reference to the class that owns the function and gives back the function.

property GdiCharSet: int
property GdiVerticalFont: bool
GetHashCode() int
GetHeight
property IsSystemFont: bool
property Italic: bool
property Name: str
property Size: float
property SizeInPoints: float
property Strikeout: bool
property Style: FontStyle
property SystemFontName: str
ToLogFont
ToString() str
property Underline: bool