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

ZoomMode Enum

Lists the document zoom modes provided by DocumentViewerControl and BackstagePrintPreview.

Namespace: DevExpress.Xpf.DocumentViewer

Assembly: DevExpress.Xpf.DocumentViewer.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.DocumentViewer.Core

#Declaration

public enum ZoomMode

#Members

Name Description
Custom

The document zoom factor is defined by the DocumentViewerControl.ZoomFactor property value.

ActualSize

Sets the document zoom factor value to 100%.

FitToWidth

Sets the document zoom factor value to fit to the width of the widest page in a document. If the bleed box is smaller than the crop box, the FitToWidth provides different result from the FitToVisible mode.

FitToVisible

The document zoom factor is calculated to fit to the width of the visible content of a page. The region of the visible page content is defined by the bleed box (see section 14.11.2 of the PDF 32000-1:2008 standard). If the bleed box is smaller than the crop box, the FitToWidth and FitToVisible modes provide different results.

PageLevel

Sets the document zoom factor value to fit to the widest or highest page in a document.

#Related API Members

The following properties accept/return ZoomMode values:

See Also