StringAt |
Top Previous Next |
yPos (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
xPos (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.
Examples : GraPdf:StringAt( {50, 10}, “this is a sample” ) with print “this is a sample” on position { 50, 10 } of the current page.
Obs: the variable GraPDF:Fixed will signal the class to use a fixed width for all characters displayed with this method. If this variable is set to "true" than the characters will be evenly displayed along the line, if "false" than characters will be displayed according to the chosen font.
|