Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxComponentPrinter.IsRebuildBeforePreview Method

Identifies whether the report is automatically rebuilt prior to displaying the Print Preview dialog.

#Declaration

Delphi
function IsRebuildBeforePreview: Boolean;

#Returns

Type
Boolean

#Remarks

This is the protected function that is normally called internally by the Preview procedure. The IsRebuildBeforePreview function checks if the cpoAutoRebuildBeforePreview option is included into the Options set. If this function returns True, the report is always updated before displaying the Print Preview dialog; otherwise, the dialog displays the current content of the active report link as is.

See Also