PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Generate Method / Generate() Method

In This Topic
    Generate() Method
    In This Topic
    Generates the current document, using the C1.C1Preview.RefreshModeEnum.RefreshCalculatedValues refresh mode.
    Syntax
    'Declaration
     
    Public Overloads Function Generate() As Boolean
    public bool Generate()

    Return Value

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