PdfZoomMode Enum

Lists values that specify the zoom mode of the PDF document.

Namespace: DevExpress.UI.Xaml.Controls

Assembly: DevExpress.UI.Xaml.Controls.v19.2.dll

Declaration

public enum PdfZoomMode
Public Enum PdfZoomMode

Members

Name Description
FitPageLevel

Sets the largest zoom level that will allow the document page to be displayed without any scroll bars appearing.

FitWidth

Sets the largest zoom level that will allow the document page to be displayed without a horizontal scroll bar appearing.

FitHeight

Sets the largest zoom level that will allow the document page to be displayed without a vertical scroll bar appearing.

PagePreferredZoom

Sets the zoom level according to the document's PdfPage.PreferredZoom property value.

Custom

Sets the custom document zoom factor according to the PdfViewerControl.CurrentZoomFactor property value.

Auto

Sets the zoom level depending on the PdfViewerControl.PdfViewMode property value: 1 if the PdfViewerControl.PdfViewMode property is set to PdfViewMode.Continuous; PdfZoomMode.FitPageLevel if the PdfViewerControl.PdfViewMode property is set to PdfViewMode.SinglePage.

Remarks

The values listed by this enumeration are used to set the PdfViewerControl.ZoomMode property's value.

See Also