Specifies the conversion behavior when a document format is not compatible with the editor.

from nutrient import ImplicitConversion

Values

NameValueDescription
ImplicitConversion.DISABLED0Throw an error when the original provided document is not compatible with the editor. Consider converting it or enabling AutoConversion.
ImplicitConversion.ENABLED1Automatically convert the document to a format the editor can edit.

Usage Example

from nutrient import ImplicitConversion
# Access enum values
value = ImplicitConversion.DISABLED
print(f"Value: {value}") # Output: Value: ImplicitConversion.DISABLED
print(f"Integer value: {value.value}") # Output: Integer value: 0