This method rotates graphics counterclockwise to the angle specified.
HRESULT PDFPAGE_Rotate ( DOUBLE angle ) |
This method applies the graphics rotation for all future drawing operations and does not modify any graphics already displayed.
Equivalent in new interface: IPDFDocument4::RotateCoords.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_Rectangle(100, 100, 400, 300); PDF.PDFPAGE_Stroke; PDF.PDFPAGE_Rotate(-20); PDF.PDFPAGE_Rectangle(100, 350, 400, 550); PDF.PDFPAGE_Stroke; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_Rectangle(100, 100, 400, 300); PDF->PDFPAGE_Stroke(); PDF->PDFPAGE_Rotate(-20); PDF->PDFPAGE_Rectangle(100, 350, 400, 550); PDF->PDFPAGE_Stroke(); PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_Rectangle(100, 100, 400, 300); PDF.PDFPAGE_Stroke(); PDF.PDFPAGE_Rotate(-20); PDF.PDFPAGE_Rectangle(100, 350, 400, 550); PDF.PDFPAGE_Stroke(); PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_Rectangle 100, 100, 400, 300 PDF.PDFPAGE_Stroke PDF.PDFPAGE_Rotate -20 PDF.PDFPAGE_Rectangle 100, 350, 400, 550 PDF.PDFPAGE_Stroke PDF.EndDoc