[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.ThrowExceptionOnError

ThrowExceptionOnError Property

ThrowExceptionOnError

Gets or sets a value indicating whether an exception should be raised if an error occurs while the current document generates. If this property is false, the Generate() method will return false if errors occurred while generating, otherwise an exception will be thrown on the first error.

The default value is false.

Declaration
public bool ThrowExceptionOnError { get; set; }