Back to Devexpress

BackstagePrintPreview.ZoomMode Property

wpf-devexpress-dot-xpf-dot-printing-dot-backstageprintpreview.md

latest2.3 KB
Original Source

BackstagePrintPreview.ZoomMode Property

Specifies the current document zoom mode. This is a dependency property.

Namespace : DevExpress.Xpf.Printing

Assembly : DevExpress.Xpf.Printing.v25.2.dll

NuGet Package : DevExpress.Wpf.Printing

Declaration

csharp
public ZoomMode ZoomMode { get; set; }
vb
Public Property ZoomMode As ZoomMode

Property Value

TypeDescription
ZoomMode

A ZoomMode enumeration value.

|

Available values:

NameDescription
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.

|

Remarks

If the ZoomMode is set to Custom , the BackstagePrintPreview.ZoomFactor property specifies the document zoom factor.

See Also

BackstagePrintPreview Class

BackstagePrintPreview Members

DevExpress.Xpf.Printing Namespace