Click or drag to resize

PDFViewCtrlSetPageViewMode Method (PDFViewCtrlPageViewMode, Double, Double, Boolean)

Sets the new page viewing mode. The default PageView mode is e_fit_width. Will maintain the position of x, y

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetPageViewMode(
	PDFViewCtrlPageViewMode mode,
	double x,
	double y,
	bool animate
)

Parameters

mode
Type: pdftron.PDFPDFViewCtrlPageViewMode
Sets the page viewing mode.
x
Type: SystemDouble
The X positiong around which to fit
y
Type: SystemDouble
The Y positiong around which to fit
animate
Type: SystemBoolean
Set to true to animate the change of the page viewng mode. Default is false.
See Also