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