TUTORIAL - Rotate the Page
PDF pages can be displayed upright like it is, or, it can be rotated in both direction (clockwise or counter-clockwise), or it can be displayed upside-down. To achieve these different rotations, you just need to adjust the rotate parameter when you call FPDF_RenderPage function.
The rotate parameter can be 0, 1, 2, or 3. Use 0 for no rotated,1 for rotated (90 degrees) clockwise, 2 for upside-down, 3 for rotated (90 degrees) counter-clockwise.
The following example shows how you can rotate the page clockwise:

…
FPDF_RenderPage(hDC, pdf_page, 10, 10, size_x, size_y, 1, 0);