×
Menu
Index

TextArc

 
 
  • TextArc( nXpos, nYpos, nRadius, nAngle, cText, nOpt, lUTF ) => prints a string of text on the page, in a arc acording to the specified radius and angle, at Xpos and Ypos position that are calculated according to page size.
 
 
nXpos (numeric) :           Horizontal position of arc center, according to coordinate system.
nXpos (numeric) :           Vertical position of arc center according to coordinate system.
nRadius (numeric) :        Radius of arc according to coordinate system.
 
nAngle (numeric) :        Starting angle to start the text string, ranging from 0 to 360, starting at the normal text position and rotating counter clockwise back to an horizontal position.
 
cText (character) :        Text to be included in the document.
nOpt (numeric) :            0  => Draw the text outside the arc in a clockwise direction.
 1  => Draw the text inside the arc in a anti-clockwise direction.
 
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:GraArc( {60, 30}, 5, , 0, 180)
oPdf:TextArc( 60, 30, 5.2, 180, "Text in Arc", 0)
oPdf:TextArc( 60, 30, 4.8,   0, "Text in Arc", 1)