PDFWrite

Write a text with current font and font style to current coordinates. A line-feed is done automatically based on current text height.

PDFWrite(string Text);

Example:
PDFWrite('Hello world.');

If you need to print a table using pre-defined columns, set column width, alignment and print using a table of text. Set column widths via the global variable PDFTableColumns first. Alignment of columns is defined by the variable nt PDFTableColumnsAlignment = {‘left’,’right’};

Example: (Print text in three columns)
PDFTableColumns = {0,20,80};
PDFWrite({'First Column', 'Second Column', 'Third Column'});

Example: (Print Column Caption and Content into two columns)
PDFTableColumns = {0,30};
PDFTableColumnsAlignment = {'left','right'};
PDFWrite({Customer:GETCOLUMNCAPTION('Phone No.'), Customer:GETVALUE('Phone No.')});