Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.26 KB

File metadata and controls

33 lines (24 loc) · 1.26 KB

ConvertHTML2PDFRequest

Properties

NameTypeDescriptionNotes
contentstrHTML content[optional]
paper_sizestrPDF page size[optional] [default to 'a4']
orientationstr[optional] [default to 'portrait']
outputstrOutput[optional] [default to 'base64']
filenamestrDocument name[optional]

Example

frompdf_generator_api_client.models.convert_html2_pdf_requestimportConvertHTML2PDFRequest# TODO update the JSON string belowjson="{}"# create an instance of ConvertHTML2PDFRequest from a JSON stringconvert_html2_pdf_request_instance=ConvertHTML2PDFRequest.from_json(json)
# print the JSON string representation of the objectprint(ConvertHTML2PDFRequest.to_json())
# convert the object into a dictconvert_html2_pdf_request_dict=convert_html2_pdf_request_instance.to_dict()
# create an instance of ConvertHTML2PDFRequest from a dictconvert_html2_pdf_request_from_dict=ConvertHTML2PDFRequest.from_dict(convert_html2_pdf_request_dict)

[Back to Model list][Back to API list][Back to README]