FPDFPage_SetRotation function

  1. @Native<Void Function(FPDF_PAGE, Int)>(FPDF_PAGE, ffi.Int)>()
void FPDFPage_SetRotation(
  1. FPDF_PAGE page,
  2. int rotate
)

Set rotation for |page|.

page - handle to a page. rotate - the rotation value, one of: 0 - No rotation. 1 - Rotated 90 degrees clockwise. 2 - Rotated 180 degrees clockwise. 3 - Rotated 270 degrees clockwise.

Implementation

@ffi.Native<ffi.Void Function(FPDF_PAGE, ffi.Int)>()
external void FPDFPage_SetRotation(FPDF_PAGE page, int rotate);