HRESULT ScaleCoords ( FLOAT scaleX, FLOAT scaleY ) |
{ PDF object is supposed to be created } PDF.DrawRectangle(10, 20, 300, 200, 0); PDF.Stroke; PDF.ScaleCoords(0.5, 0.5); PDF.DrawRectangle(10, 20, 300, 200, 0); PDF.Stroke; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created PDF->DrawRectangle(10, 20, 300, 200, 0); PDF->Stroke(); PDF->ScaleCoords(0.5f, 0.5f); PDF->DrawRectangle(10, 20, 300, 200, 0); PDF->Stroke(); PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created PDF.DrawRectangle(10, 20, 300, 200, 0); PDF.Stroke(); PDF.ScaleCoords(0.5f, 0.5f); PDF.DrawRectangle(10, 20, 300, 200, 0); PDF.Stroke(); PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created PDF.DrawRectangle 10, 20, 300, 200, 0 PDF.Stroke PDF.ScaleCoords 0.5, 0.5 PDF.DrawRectangle 10, 20, 300, 200, 0 PDF.Stroke PDF.SaveToFile "test.pdf", true