HRESULT RotateCoords ( FLOAT angle ) |
{ PDF object is supposed to be created } PDF.DrawRectangle(100, 100, 300, 200, 0); PDF.Stroke; PDF.RotateCoords(-10); PDF.DrawRectangle(100, 100, 300, 200, 0); PDF.Stroke; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created PDF->DrawRectangle(100, 100, 300, 200, 0); PDF->Stroke(); PDF->RotateCoords(-10); PDF->DrawRectangle(100, 100, 300, 200, 0); PDF->Stroke(); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created PDF.DrawRectangle(100, 100, 300, 200, 0); PDF.Stroke(); PDF.RotateCoords(-10); PDF.DrawRectangle(100, 100, 300, 200, 0); PDF.Stroke(); PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created PDF.DrawRectangle 100, 100, 300, 200, 0 PDF.Stroke PDF.RotateCoords -10 PDF.DrawRectangle 100, 100, 300, 200, 0 PDF.Stroke PDF.SaveToFile "test.pdf", true