css_stream property

CssSavingArgs.css_stream property

Allows to specify the stream where the CSS information will be saved to.

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

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

Remarks

This property allows you to save CSS information to a stream.

The default value is None. This property doesn’t suppress saving CSS information to a file or embedding to HTML document. To suppress exporting CSS use the CssSavingArgs.is_export_needed property.

Using ICssSavingCallback you cannot substitute CSS with another. It is intended only for saving CSS to a stream.

See Also