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

TdxPreviewZoomMode Enum

Enumerates zoom factor calculation modes.

#Declaration

Delphi
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