



Collapse All
Syntax| HRESULT SetTextRise ( FLOAT rise ) |
Remarks
Example{ PDF object is supposed to be created }
fnt := PDF.AddFont('Verdana', false, false, false, false, fcDefault);
PDF.UseFont(fnt, 14);
PDF.SetTextRise(0);
PDF.ShowTextAt(30, 30, 'ABC');
PDF.SetTextRise(7);
PDF.ShowText('ABC');
PDF.SetTextRise(-7);
PDF.ShowText('ABC');
PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created
long fnt = PDF->AddFont("Verdana", false, false, false, false, fcDefault);
PDF->UseFont(fnt, 14);
PDF->SetTextRise(0);
PDF->ShowTextAt(30, 30, "ABC");
PDF->SetTextRise(7);
PDF->ShowText("ABC");
PDF->SetTextRise(-7);
PDF->ShowText("ABC");
PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created
long fnt = PDF.AddFont("Verdana", false, false, false, false, FontCharset.fcDefault);
PDF.UseFont(fnt, 14);
PDF.SetTextRise(0);
PDF.ShowTextAt(30, 30, "ABC");
PDF.SetTextRise(7);
PDF.ShowText("ABC");
PDF.SetTextRise(-7);
PDF.ShowText("ABC");
PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created
fnt = PDF.AddFont("Verdana", false, false, false, false, 0)'FontCharset.fcDefault
PDF.UseFont fnt, 14
PDF.SetTextRise 0
PDF.ShowTextAt 30, 30, "ABC"
PDF.SetTextRise 7
PDF.ShowText "ABC"
PDF.SetTextRise -7
PDF.ShowText "ABC"
PDF.SaveToFile "test.pdf", true
See Also