Skip to main content

TdxPreviewZoomMode Enum

Enumerates zoom factor calculation modes.

Declaration

TdxPreviewZoomMode = (
    pzmNone,
    pzmPageWidth,
    pzmPages
);

Members

Name
pzmNone
pzmPageWidth
pzmPages

Remarks

Options include:

Value

Description

Example

pzmNone

In this mode, the zoom factor value is not recalculated when the document viewing area is resized. The pzmNone mode corresponds to a custom zoom factor value.

pzmPageWidth

The displayed document is automatically zoomed in or out to fit horizontally into the document viewing area. The zoom factor is recalculated every time the document viewing area is resized.

Zooming the document view in or out (either by calling the viewer’s ZoomIn/ZoomOut procedures or changing the ZoomFactor property value) switches the zoom mode to pzmNone.

pzmPages

The displayed document is zoomed in or out to fit a whole single document page into the viewing area. The zoom factor is recalculated every time the document viewing area is resized.

As in the case of pzmPageWidth, zooming the displayed document in or out switches the zoom mode to pzmNone.

The TdxPreviewZoomMode type is referenced by:

See Also