This function prepares the output of multiple text lines with DynaPDF.AddContinueText.
|The PDF reference returned from DynaPDF.New.|
|PosX||X-Coordinate of the first text line||$x|
|PosY||Y-Coordinate of the first text line||$y|
Returns OK or error message.
DescriptionThis function prepares the output of multiple text lines with DynaPDF.AddContinueText.
The distance between two text lines can be adjusted with DynaPDF.SetLeading. If no leading was defined it will be set to the font size. Note that the function changes the leading of the graphics state if it was not defined beforehand. Subsequent calls use then the leading that was set in a prior call. If the font or font size will be changed it is strongly recommended to set the leading to a correct value. The default leading is the font size. The leading, font, character spacing, word spacing, text scaling, or the text color can be changed before calling DynaPDF.AddContinueText the next time.
The point PosX, PosY defines the baseline of the first text line if the coordinate system is bottom-up, otherwise the top-left corner of the text's bounding box. The origin can be changed with the function DynaPDF.SetFontOrigin.
If the font uses horizontal writing mode the text cursor moves from top to bottom. In vertical writing mode the text cursor moves from left to right.
See also pdfBeginContinueText in dynapdf manual.
Feedback: Report problem or ask question.