The requested page is not available for the requested platform. You are viewing the content for Default platform.

PdfViewerControl.ZoomMode Property

Gets or sets the zoom mode that is applied to a PDF document. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Controls

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

Declaration

public PdfZoomMode ZoomMode { get; set; }
Public Property ZoomMode As PdfZoomMode

Property Value

Type Description
PdfZoomMode

A PdfZoomMode enumeration value.

Remarks

If the ZoomMode property is set to PdfZoomMode.PagePreferredZoom and the PdfViewerControl.PdfViewMode property is set to PdfViewMode.Continuous, the PdfViewerControl.CurrentZoomFactor property value is equal to the PdfPage.PreferredZoom property value of the first page in the document. Otherwise, if the PdfViewerControl.PdfViewMode property is set to PdfViewMode.SinglePage, the PdfViewerControl.CurrentZoomFactor property value is equal to the PdfPage.PreferredZoom property value of the current page in the document.

See Also