FR_PDFZOOM_FITPAGE: 2

Zoom mode for PDF destination.

FR_PDFZOOM_FITPAGE Specifies with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.

const type = DefineConst.FR_PDFZOOM_FITPAGE;