Click or drag to resize

PdfRectangleRotate Method

Rotate rectangle counterclockwise about the origin of the page where it is defined in 90 degree intervals.

Namespace:  Opait.Pdf.Api
Assembly:  Opait.Pdf.Api (in Opait.Pdf.Api.dll) Version: 1.3.3.0
Syntax
C#
public PdfRectangle Rotate(
	int angle,
	double pageWidth,
	double pageHeight
)

Parameters

angle
Type: SystemInt32
Counterclockwise rotation angle in degrees.
pageWidth
Type: SystemDouble
The width of the page where the rectangle is defined.
pageHeight
Type: SystemDouble
The height of the page where the rectangle is defined.

Return Value

Type: PdfRectangle
A rotated rectangle.
See Also