PDF4Java Reference Documentation
com.o2sol.pdf4java Package / PDFPage Class / setRotation Method
The number of degrees by which the page should be rotated clockwise when displayed or printed.
In This Topic
    setRotation Method
    In This Topic
    Sets the rotation angle.
    The accepted values for this method are 0, 90, 180 and 270 degrees.
    Syntax
    public void setRotation( 
       int rotation
    )

    Parameters

    rotation
    The number of degrees by which the page should be rotated clockwise when displayed or printed.
    Exceptions
    ExceptionDescription
    When the rotation is not one of accepted values.
    See Also