save_to_pdf method

save_to_pdf(self, path)

Saves the memory data to the file path,the save format is pdf.


def save_to_pdf(self, path):
    ...
ParameterTypeDescription
pathSystem.StringThe file path to save.

save_to_pdf(self, stream)

Saves the memory data to the sream,the save format is pdf.


def save_to_pdf(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream to save.

See Also