Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / Generate Method / Generate(RefreshModeEnum) Method
A RefreshModeEnum value indicating what data should be refreshed during generation.

In This Topic
    Generate(RefreshModeEnum) Method
    In This Topic
    Generates the current document. Depending on the specified refresh mode, may update data-bound and calculated values.
    Syntax
    'Declaration
     
    Public Overloads Function Generate( _
       ByVal refreshMode As RefreshModeEnum _
    ) As Boolean
    public bool Generate( 
       RefreshModeEnum refreshMode
    )

    Parameters

    refreshMode
    A RefreshModeEnum value indicating what data should be refreshed during generation.

    Return Value

    true if no warnings occurred during document generation, false if there were warnings (in that case, the Warnings property on the current document contains the warnings that were issued).
    See Also