PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / ThrowExceptionOnError Property

In This Topic
    ThrowExceptionOnError Property (C1PrintDocument)
    In This Topic
    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.

    Syntax
    'Declaration
     
    Public Property ThrowExceptionOnError As Boolean
    public bool ThrowExceptionOnError {get; set;}
    See Also