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](component_DynaPDF.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.AddContinueText"; PDF; Text ) 

**MBS**( **"DynaPDF.AddContinueText";** /\* Prints a single text line and moves the text cursor to the next line. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Text**) /\* Text to be printed.e.g. "Hello World" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $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](DynaPDFBeginContinueText.md).   
The distance between two text lines can be adjusted with [DynaPDF.SetLeading](DynaPDFSetLeading.md).  
See also [AddContinueText](https://www.monkeybreadsoftware.com/DynaPDF-Manual/AddContinueText.shtml) function in DynaPDF manual.

### Examples

Use continued text:

 Set Variable \[ $PDF ; Value: MBS ("[DynaPDF.New](DynaPDFNew.md)") \]   
Set Variable \[ $r ; Value: MBS ( "[DynaPDF.AppendPage](DynaPDFAppendPage.md)"; $PDF ) \]   
Set Variable \[ $r ; Value: MBS ( "[DynaPDF.BeginContinueText](DynaPDFBeginContinueText.md)"; $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](DynaPDFSave.md)"; $PDF ) \]   
Set Variable \[ $r ; Value: MBS ( "[DynaPDF.Release](DynaPDFRelease.md)"; $PDF ) \]  
### See also

- [DynaPDF.AppendPage](DynaPDFAppendPage.md)
- [DynaPDF.BeginContinueText](DynaPDFBeginContinueText.md)
- [DynaPDF.GetLeading](DynaPDFGetLeading.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.Release](DynaPDFRelease.md)
- [DynaPDF.Save](DynaPDFSave.md)
- [DynaPDF.SetLeading](DynaPDFSetLeading.md)

### Example Databases

- [DynaPDF/Create Text as PDFA](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20Text%20as%20PDFA.shtml#3ScriptAnchor_)

This function checks for a license.

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

  
[DynaPDF.AddButtonImageEx2](DynaPDFAddButtonImageEx2.md) - [DynaPDF.AddDPartNode](DynaPDFAddDPartNode.md)

[HTML Version](DynaPDFAddContinueText.shtml)