css_styles property

css_styles property

Gets or sets the additional css styles for the formatter. Only works when HtmlSaveOptions.save_as_single_file is True.

CssStyles=“body { padding: 5px }”;

Definition:

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

See Also