serialize_to_css method

On this page

serialize_to_css

Serializes the font info as a @font-face at-rule and writes it to the specified text writer.

def serialize_to_css(self, output):
    ...
Parameter Type Description
output System.IO.TextWriter A file-like object (e.g., an io.TextIOBase) into which the serialized text data should be written.

Returns: None.

Raises Description
ValueError If output is None.

See Also

On this page