Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.79 KB

File metadata and controls

38 lines (29 loc) · 1.79 KB

TemplateDefinitionNewLayout

Defines template layout (e.g page format, margins).

Properties

Name Type Description Notes
format str Defines template page size [optional] [default to 'A4']
width float Page width in units [optional]
height float Page height in units [optional]
unit str Measure unit [optional] [default to 'cm']
orientation str Page orientation [optional]
rotation int Page rotation in degrees [optional]
margins TemplateDefinitionNewLayoutMargins [optional]
repeat_layout TemplateDefinitionNewLayoutRepeatLayout [optional]
empty_labels int Specifies how many blank lables to add to sheet label. [optional] [default to 0]

Example

from pdf_generator_api_client.models.template_definition_new_layout import TemplateDefinitionNewLayout

# TODO update the JSON string below
json = "{}"
# create an instance of TemplateDefinitionNewLayout from a JSON string
template_definition_new_layout_instance = TemplateDefinitionNewLayout.from_json(json)
# print the JSON string representation of the object
print(TemplateDefinitionNewLayout.to_json())

# convert the object into a dict
template_definition_new_layout_dict = template_definition_new_layout_instance.to_dict()
# create an instance of TemplateDefinitionNewLayout from a dict
template_definition_new_layout_from_dict = TemplateDefinitionNewLayout.from_dict(template_definition_new_layout_dict)

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