Specifies the desired layout type during a document conversion to HTML.
from nutrient_sdk import HtmlLayoutTypeValues
| Name | Value | Description |
|---|---|---|
HtmlLayoutType.PAGE_LAYOUT | 0 | Keep the original structure of the document, segmented by page, align on the left. |
HtmlLayoutType.REFLOW_LAYOUT | 1 | Convert the document into a continuous flow of text, without page breaks. |
Usage Example
from nutrient_sdk import HtmlLayoutType
# Access enum valuesvalue = HtmlLayoutType.PAGE_LAYOUTprint(f"Value: {value}") # Output: Value: HtmlLayoutType.PAGE_LAYOUTprint(f"Integer value: {value.value}") # Output: Integer value: 0