Class allowing to display a preview of the output of the TGridPrinter Constructor of the TGridPrintPreviewDialog classCreates an instance of the TGridPrintPreviewFormParams class which determines size and position of the dialog window. Destructor of the TGridPrintPreviewDialog class Displays the preview form. Main method of the component. Parameters which define size and position of the preview form. Links to the TGridPrinter instance which actually performs the printing. This property defines the options of the user to modify the preview.
  • ppoNavigationBtns - Enables/disables page navigation in the preview.
  • ppoNavigationEdit - Shows/hides the edit control in the preview toolbar with which the user can navigate to a specific page of the preview.
  • ppoZoomBtns - Enables/disables zooming in the preview.
  • ppoPageOrientationBtns - Enables/disables selection of page orientation.
  • ppoMarginsBtn - Enables/disables page margin selection in the preview
  • ppoHeaderFooterBtn - Enables/disables the possibility to set up the header and footer in a dialog.
  • ppoPrintOrderBtns - Enables/disables the possibility to define the order of pages when the entire print-out does not fit onto a single page of paper.
  • ppoCenterBtns - Shows/hides the buttons to center the grid on the printed page.
  • ppoScalePrinterBtn - Shows/hides the button to scale the printer output manually or to force a given count of pages onto a single sheet.
  • ppoPageSetupBtn - Shows/hides a toolbar button with a dropdown menu containing options to control the page layout (page orientation, margin selection, etc).
  • ppoPageNumberInfo - Shows/hides the display of page number and total page count in the preview form.
  • ppoZoomLevelInfo - Shows/hides the display of the preview zoom level (percentage) in the preview form.
Class administrating the options for the user to modify the preview form.
  • ppoNavigationBtns - Enables/disables page navigation in the preview.
  • ppoNavigationEdit - Shows/hides the edit control in the preview toolbar with which the user can navigate to a specific page of the preview.
  • ppoZoomBtns - Enables/disables zooming in the preview.
  • ppoPageOrientationBtns - Enables/disables selection of page orientation.
  • ppoMarginsBtn - Enables/disables page margin selection in the preview
  • ppoHeaderFooterBtn - Enables/disables the possibility to set up the header and footer in a dialog.
  • ppoPrintOrderBtns - Enables/disables the possibility to define the order of pages when the entire print-out does not fit onto a single page of paper.
  • ppoCenterBtns - Shows/hides the buttons to center the grid on the printed page.
  • ppoScalePrinterBtn - Shows/hides the button to scale the printer output manually or to force a given count of pages onto a single sheet.
  • ppoPageSetupBtn - Shows/hides a toolbar button with a dropdown menu containing options to control the page layout (page orientation, margin selection, etc).
  • ppoPageNumberInfo - Shows/hides the display of page number and total page count in the preview form.
  • ppoZoomLevelInfo - Shows/hides the display of the preview zoom level (percentage) in the preview form.
Scaling factor, in percent, applied when the preview bitmap is displayed in the preview form. Default: 100. Determines how the preview bitmap is scaled by means of the Zoom scaling factor:
  • zmCustom - The current value of the Zoom factor is applied directly.
  • zmFitWidth - The Zoom factor is adjusted so that the page fits horizontally into the preview window.
  • zmFitHeight - The Zoom factor is adjusted such that the page fits vertically into the preview window.