TPrintPreviewFormat Class Reference

#include <mw/prnprev.h>

class TPrintPreviewFormat

Detailed Description

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 Attribute Documentation

iLabelFontSpecInPixels

TFontSpec iLabelFontSpecInPixels

Font specification for the label text.

iLabelOffsetInPixels

TInt iLabelOffsetInPixels

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

iMinPanelGutterInPixels

TSize iMinPanelGutterInPixels

The minimum panel gutter size, in pixels.

iPanelMarginColor

TRgb iPanelMarginColor

The panel margin colour.

iPanelShadowColor

TRgb iPanelShadowColor

The colour of the panel shadow.

iPanelShadowWidthInPixels

TInt iPanelShadowWidthInPixels

The width of the panel shadow, in pixels.

iPreviewBackgroundColor

TRgb iPreviewBackgroundColor

The color of both the paper and the window background.