TPrintPreviewFormat Class Reference

class TPrintPreviewFormat

Print preview format information.

The print preview format information is accessed via its public data members. Typically there is a system wide TPrintPreviewFormat supplied by the GUI framework.

Preview information includes:

  • panel settings: multiple pages can be previewed at once; the display area for each page is termed a panel.

  • label settings: each panel can have an associated label, which specifies the corresponding document page number

Member Data Documentation

TFontSpec iLabelFontSpecInPixels

TFontSpec iLabelFontSpecInPixels

Font specification for the label text.

TInt iLabelOffsetInPixels

TInt iLabelOffsetInPixels

X pixel offset of the label text from the panel edge.

TSize iMinPanelGutterInPixels

TSize iMinPanelGutterInPixels

The minimum panel gutter size, in pixels.

TRgb iPanelMarginColor

TRgb iPanelMarginColor

The panel margin colour.

TRgb iPanelShadowColor

TRgb iPanelShadowColor

The colour of the panel shadow.

TInt iPanelShadowWidthInPixels

TInt iPanelShadowWidthInPixels

The width of the panel shadow, in pixels.

TRgb iPreviewBackgroundColor

TRgb iPreviewBackgroundColor

The color of both the paper and the window background.