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
)
Public Sub SetPageViewMode (
mode As PDFViewCtrlPageViewMode,
x As Double,
y As Double,
animate As Boolean
)
public:
virtual void SetPageViewMode(
[InAttribute] PDFViewCtrlPageViewMode mode,
[InAttribute] double x,
[InAttribute] double y,
[InAttribute] bool animate
) sealed
function SetPageViewMode(mode, x, y, 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