font_stream property

FontSavingArgs.font_stream property

Allows to specify the stream where the font will be saved to.

@property
def font_stream(self) -> io.BytesIO:
    ...

@font_stream.setter
def font_stream(self, value: io.BytesIO):
    ...

Remarks

This property allows you to save fonts to streams instead of files during HTML export.

The default value is None. When this property is None, the font will be saved to a file specified in the FontSavingArgs.font_file_name property.

See Also