



Collapse All
Syntax| HRESULT TranslateCoords ( FLOAT x, FLOAT y ) |
Remarks
Example{ 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
See Also