FR_PDFZOOM_FITRECT: 5

Zoom mode for PDF destination.

FR_PDFZOOM_FITRECT Specifies left, bottom, right, top. with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically.

const type = DefineConst.FR_PDFZOOM_FITRECT;