[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.Generate

Generate Method

Generate()

Generates the current document, using the RefreshCalculatedValues refresh mode.

Declaration
public bool Generate()
Returns
Type Description
bool

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).

Generate(RefreshModeEnum)

Generates the current document. Depending on the specified refresh mode, may update data-bound and calculated values.

Declaration
public bool Generate(RefreshModeEnum refreshMode)
Parameters
Type Name Description
RefreshModeEnum refreshMode

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

Returns
Type Description
bool

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).