Table of Contents

DocumentViewerZoomMode Enum

Definition

Namespace
GleamTech.DocumentUltimate.AspNet.UI
Assembly
GleamTech.DocumentUltimate.dll

Defines possible modes for zooming pages in the document viewer.

public enum DocumentViewerZoomMode

Fields

Name Value Description
History 0

The document's zoom level will be remembered per document via browser's local storage. The history will start with Auto. This is the default value.

Auto 1

The document's zoom level will be adjusted so that for pages in portrait mode, acts as PageWidth, for pages in landscape mode, acts as PageFit. The zoom will be capped at 125%.

PageActual 2

The document's zoom level will be adjusted to the actual page scale, i.e. 100%.

PageWidth 3

The document's zoom level will be adjusted so that the width of the current page will exactly fit into the available space.

PageHeight 4

The document's zoom level will be adjusted so that the height of the current page will exactly fit into the available space.

PageFit 5

The document's zoom level will be adjusted so that the width or height (whichever is smaller) of the current page will exactly fit into the available space.