Click or drag to resize

PDFViewCtrlSetRelativeZoomLimits Method

Sets the minimum and maximum zoom bounds of PDFViewCtrl relative to referenceViewMode min_zoom and max_zoom are relative to the zoom level when the current page is displayed in referenceViewMod. For instance, if referenceViewMode is e_fit_page, min_zoom = 1.0, and max_zoom = 3, it means that the minimum zoom allowed by PDFViewCtrl is the same as the zoom when a page is fit and the maximum zoom allowed is three times that of when the page is fit.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetRelativeZoomLimits(
	PDFViewCtrlPageViewMode referenceViewMode,
	double minZoom,
	double maxZoom
)

Parameters

referenceViewMode
Type: pdftron.PDFPDFViewCtrlPageViewMode
The reference page view mode to set. Valid values are: e_fit_pagee_fit_widthe_fit_height
minZoom
Type: SystemDouble
The minimum zoom bound
maxZoom
Type: SystemDouble
The maximum zoom bound
See Also