This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/enums/html-layout-type.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. HtmlLayoutType

Specifies the desired layout type during a document conversion to HTML.

from nutrient_sdk import HtmlLayoutType

Values

NameValueDescription
HtmlLayoutType.PAGE_LAYOUT0Keep the original structure of the document, segmented by page, align on the left.
HtmlLayoutType.REFLOW_LAYOUT1Convert the document into a continuous flow of text, without page breaks.

Usage Example

from nutrient_sdk import HtmlLayoutType
# Access enum values
value = HtmlLayoutType.PAGE_LAYOUT
print(f"Value: {value}") # Output: Value: HtmlLayoutType.PAGE_LAYOUT
print(f"Integer value: {value.value}") # Output: Integer value: 0