Enum
InvalidDocumentAction

Specifies the action to perform when a document violates DOCX format rules during export with DocxFormatProvider.

Definition

Namespace:Telerik.Windows.Documents.Flow.FormatProviders.Docx

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public enum InvalidDocumentAction

Fields

None

Exports the document without validation or repair, which may produce a non-compliant DOCX file.

Declaration

cs-api-definition
None = 0

Field Value

InvalidDocumentAction

Repair

Automatically repairs non-compliant structures during export, which may alter the document to ensure DOCX format compliance.

Declaration

cs-api-definition
Repair = 1

Field Value

InvalidDocumentAction

ThrowException

Throws an InvalidDocumentException if the document violates DOCX format rules, preventing export.

Declaration

cs-api-definition
ThrowException = 2

Field Value

InvalidDocumentAction

In this article
DefinitionFieldsNoneRepairThrowException
Not finding the help you need?
Contact Support