HRESULT SetWordSpacing ( FLOAT spacing ) |
{ PDF object is supposed to be created } for i := 0 to 10 do begin PDF.SetWordSpacing(i); PDF.ShowTextAt(20, 20+i*14, 'Text text text.'); end; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created for (int i = 0; i < 11; i++) { PDF->SetWordSpacing(i); PDF->ShowTextAt(20, 20+i*14, "Text text text."); } PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created for (int i = 0; i < 11; i++) { PDF.SetWordSpacing(i); PDF.ShowTextAt(20, 20+i*14, "Text text text."); } PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created For i = 0 To 10 PDF.SetWordSpacing i PDF.ShowTextAt 20, 20+i*14, "Text text text." Next PDF.SaveToFile "test.pdf", true