rotate

Set the page rotation.
[read/write property] rotate([out, retval] int *angle) rotate([in] int angle)
This property sets the page rotation. Allowed rotation values are 0, 90, 180, and 270 degrees.

resetParams resets this to its default value, which is to print portrait-mode pages with a rotation of 0 and landscape pages with a rotation of 90.

VB6:
pdf.rotate = 180
resetParams