Click or drag to resize

PdfGeneratedDocumentValidationChooser Property

Gets or sets the validation chooser. This is a delegate that is used if AutomaticValidateAndRepairBeforeSave is true to choose to repair detected problems or not. The delegate will be called for each problem in turn. If the delegate returns true, the problem will be repaired.
If ValidationChooser is set to null, only problems of Serious or less will be repaired. If there are any remaining problems, this will cause a PdfException to be thrown containing all the problems detected.
doc.ValidationChooser = PdfGeneratedDocument.MakeValidationSeverityChooser(Severity.Minor);

Namespace:  Atalasoft.PdfDoc.Generating
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public RepairChooser ValidationChooser { get; set; }

Property Value

Type: RepairChooser
The current validation chooser.
See Also