ImplicitConversion
Specifies the conversion behavior when a document format is not compatible with the editor.
from nutrient import ImplicitConversionValues
| Name | Value | Description |
|---|---|---|
ImplicitConversion.DISABLED | 0 | Throw an error when the original provided document is not compatible with the editor. Consider converting it or enabling AutoConversion. |
ImplicitConversion.ENABLED | 1 | Automatically convert the document to a format the editor can edit. |
Usage Example
from nutrient import ImplicitConversion
# Access enum valuesvalue = ImplicitConversion.DISABLEDprint(f"Value: {value}") # Output: Value: ImplicitConversion.DISABLEDprint(f"Integer value: {value.value}") # Output: Integer value: 0