



Collapse All
Syntax| LONG ShowTextLines ( FLOAT left, FLOAT top, FLOAT right, FLOAT bottom, FLOAT interval, TextAlign align, VerticalAlign verticalAlign, BSTR text ) |
Remarks
Example{ PDF object is supposed to be created }
PDF.DrawRectangle(100, 100, 60, 30, 0);
PDF.Stroke;
lines := PDF.ShowTextLines(100, 100, 160, 130, 10, taCenter, vaCenter, 'Here is long text in the box.');
PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created
PDF->DrawRectangle(100, 100, 60, 30, 0);
PDF->Stroke();
long lines = PDF->ShowTextLines(100, 100, 160, 130, 10, taCenter, vaCenter, "Here is long text in the box.");
PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created
PDF.DrawRectangle(100, 100, 60, 30, 0);
PDF.Stroke();
long lines = PDF.ShowTextLines(100, 100, 160, 130, 10, TextAlign.taCenter, VerticalAlign.vaCenter, "Here is long text in the box.");
PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created PDF.DrawRectangle 100, 100, 60, 30, 0 PDF.Stroke lines = PDF.ShowTextLines(100, 100, 160, 130, 10, 1, 1, "Here is long text in the box.") 'TextAlign.taCenter VerticalAlign.vaCenter PDF.SaveToFile "test.pdf", true
See Also