to_image method

to_image

Converts a sparkline to an image.

def to_image(self, file_name, options):
    ...
ParameterTypeDescription
file_namestrThe image file name.
optionsaspose.cells.rendering.ImageOrPrintOptionsThe image options

to_image

Converts a sparkline to an image.

def to_image(self, stream, options):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe image stream.
optionsaspose.cells.rendering.ImageOrPrintOptionsThe image options.

See Also