save_to_pdf method

save_to_pdf

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

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

save_to_pdf

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