Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.AddContinueText

Prints a single text line and moves the text cursor to the next line.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.AddContinueText"; PDF; Text )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Text Text to be printed. "Hello World"

Result

Returns OK or error message.

Description

Prints a single text line and moves the text cursor to the next line.
Text lines created by this function are handled as a separate block. Before calling the function the first time, the usage must be prepared with DynaPDF.BeginContinueText.
The distance between two text lines can be adjusted with DynaPDF.SetLeading.

See also AddContinueText function in DynaPDF manual.

Examples

Use continued text:

Set Variable [ $PDF ; Value: MBS("DynaPDF.New") ]
Set Variable [ $r ; Value: MBS( "DynaPDF.AppendPage"; $PDF ) ]
Set Variable [ $r ; Value: MBS( "DynaPDF.BeginContinueText"; $PDF; 100; 100 ) ]
Set Variable [ $r ; Value: MBS("DynaPDF.AddContinueText"; $PDF; "Hello World 123" ) ]
Set Variable [ $r ; Value: MBS("DynaPDF.AddContinueText"; $PDF; "ABCDEFGHIJK" ) ]
Set Field [ Examples::Barcode ; MBS( "DynaPDF.Save"; $PDF ) ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Release"; $PDF ) ]

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 27th November 2022


DynaPDF.AddButtonImageEx2 - DynaPDF.AddDPartNode