×
Menu
Index

Text

 
 
  • Text( line, column, string, lUTF ) => prints a string of text on the page, at line and column position that are calculated according to page size.
 
 
Line (numeric) : is the vertical position where the text will be outputted, this position must be according to the coordinate system chosen for your document (see NewPage above). If line is NIL, will continue to print at current line
 
Column (numeric) : is the horizontal position within the page for the text, according to the coordinate system specified in the NewPage method. If column is NIL, will print at the next character position.
 
String (character) : is the string of characters to be outputted at the specified position, if the string does not fit on the line, it will be lost, no line wrapping is done with this method, for this use the mText method.
 
lUTF (logic) : indicates if the string is a normal ANSI text (false), or if it is an UNICODE text (true). (Default is false)
 
Examples : oPdf:Text( 5, 1, “this is a sample” ) with print “this is a sample” on line 5, column 1, assuming the Line/Column coordinate system is in use.