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

NameTypeDescriptionNotes
formatstrDefines template page size[optional] [default to 'A4']
widthfloatPage width in units[optional]
heightfloatPage height in units[optional]
unitstrMeasure unit[optional] [default to 'cm']
orientationstrPage orientation[optional]
rotationintPage rotation in degrees[optional]
marginsTemplateDefinitionNewLayoutMargins[optional]
repeat_layoutTemplateDefinitionNewLayoutRepeatLayout[optional]
empty_labelsintSpecifies how many blank lables to add to sheet label.[optional] [default to 0]

Example

frompdf_generator_api_client.models.template_definition_new_layoutimportTemplateDefinitionNewLayout# TODO update the JSON string belowjson="{}"# create an instance of TemplateDefinitionNewLayout from a JSON stringtemplate_definition_new_layout_instance=TemplateDefinitionNewLayout.from_json(json)
# print the JSON string representation of the objectprint(TemplateDefinitionNewLayout.to_json())
# convert the object into a dicttemplate_definition_new_layout_dict=template_definition_new_layout_instance.to_dict()
# create an instance of TemplateDefinitionNewLayout from a dicttemplate_definition_new_layout_from_dict=TemplateDefinitionNewLayout.from_dict(template_definition_new_layout_dict)

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