DynaPDF.AppendPage
------------------

This function appends an empty page to the document.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [3.1](newinversion31.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.AppendPage"; PDF { ; DontSetFont } ) 

**MBS**( **"DynaPDF.AppendPage";** /\* This function appends an empty page to the document. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$DontSetFont**) /\* Optional; Pass 1 to not set a default font.  
Should be 1 if used with [DynaPDF.SetPageBreakExpression](DynaPDFSetPageBreakExpression.md), but otherwise leave at default, which is 0.e.g. 0 \*/ 

(old name: DynaPDF.Append)

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |  |
| DontSetFont | Pass 1 to not set a default font.   Should be 1 if used with [DynaPDF.SetPageBreakExpression](DynaPDFSetPageBreakExpression.md), but otherwise leave at default, which is 0. | 0 | Optional      Added in version **14.1**. |

### Result

Returns OK on success.

### Description

This function appends an empty page to the document.   
The default page format for new created pages is DIN A4. However, when changing the page format, the next page is created in the same format as the previous one. The CropBox is also set to the values of the previous page. The other bounding boxes such as ArtBox, BleedBox and so on must be set manually for each page.  
  
Use [DynaPDF.SetPageHeight](DynaPDFSetPageHeight.md) and [DynaPDF.SetPageWidth](DynaPDFSetPageWidth.md) or [DynaPDF.SetPageFormat](DynaPDFSetPageFormat.md) function to change size of current page.  
  
If you have an open page, we close it automatically for you before doing the import.  
See also [Append](https://www.monkeybreadsoftware.com/DynaPDF-Manual/Append.shtml) function in DynaPDF manual.

### Examples

Append page:

 Set Variable \[$r ; Value:MBS ("DynaPDF.AppendPage"; $pdf )\]  
### See also

- [DynaPDF.DeletePage](DynaPDFDeletePage.md)
- [DynaPDF.RenderPage](DynaPDFRenderPage.md)
- [DynaPDF.SetOrientation](DynaPDFSetOrientation.md)
- [DynaPDF.SetPageBreakExpression](DynaPDFSetPageBreakExpression.md)
- [DynaPDF.SetPageFormat](DynaPDFSetPageFormat.md)
- [DynaPDF.SetPageWidth](DynaPDFSetPageWidth.md)
- [DynaPDF.SetTextRect](DynaPDFSetTextRect.md)
- [DynaPDF.Table.Create](DynaPDFTableCreate.md)
- [DynaPDF.Table.Draw](DynaPDFTableDraw.md)
- [DynaPDF.WriteStyledText](DynaPDFWriteStyledText.md)

### Example Databases

- [DynaPDF/Barcodes](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Barcodes.shtml#1ScriptAnchor_)
- [DynaPDF/Catalog with tables](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Catalog%20with%20tables.shtml#1ScriptAnchor_)
- [DynaPDF/Coordinates](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Coordinates.shtml#1ScriptAnchor_)
- [DynaPDF/Create DeviceN ColorSpace](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20DeviceN%20ColorSpace.shtml#2ScriptAnchor_)
- [DynaPDF/Create PDF with sum form field](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20PDF%20with%20sum%20form%20field.shtml#2ScriptAnchor_)
- [DynaPDF/Create Text as PDFA](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20Text%20as%20PDFA.shtml#3ScriptAnchor_)
- [DynaPDF/Multi Column Output](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Multi%20Column%20Output.shtml#1ScriptAnchor_)
- [DynaPDF/Styled Text](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Styled%20Text.shtml#2ScriptAnchor_)
- [DynaPDF/ZUGFeRD and Facture-X/ZUGFeRD Invoice](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/ZUGFeRD%20and%20Facture-X/ZUGFeRD%20Invoice.shtml#3ScriptAnchor_)
- [Mac and iOS/PDFKit/Pictures to PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/Pictures%20to%20PDF.shtml#10ScriptAnchor_)

### Blog Entries

- [Create PDF/UA with DynaPDF in FileMaker](https://www.mbsplugins.de/archive/2026-05-27/Create_PDFUA_with_DynaPDF_in_F/monkeybreadsoftware_blog_filemaker)
- [Using DynaPDF with Data API for PDF generation](https://www.mbsplugins.de/archive/2026-05-25/Using_DynaPDF_with_Data_API_fo/monkeybreadsoftware_blog_filemaker)
- [Draw images with text using DynaPDF](https://www.mbsplugins.de/archive/2026-01-03/Draw_images_with_text_using_Dy/monkeybreadsoftware_blog_filemaker)
- [Use complex text rendering with DynaPDF in FileMaker](https://www.mbsplugins.de/archive/2025-06-25/Use_complex_text_rendering_wit/monkeybreadsoftware_blog_filemaker)
- [Unlocking the Power of PDFs in FileMaker with DynaPDF and the MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2024-09-16/Unlocking_the_Power_of_PDFs_in/monkeybreadsoftware_blog_filemaker)
- [Page Layouting in DynaPDF](https://www.mbsplugins.de/archive/2024-04-05/Page_Layouting_in_DynaPDF/monkeybreadsoftware_blog_filemaker)
- [Merge documents with DynaPDF](https://www.mbsplugins.de/archive/2023-07-06/Merge_documents_with_DynaPDF/monkeybreadsoftware_blog_filemaker)
- [Things you can do with DynaPDF](https://www.mbsplugins.de/archive/2021-07-02/Things_you_can_do_with_DynaPDF/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 11.0](https://www.mbsplugins.de/archive/2021-01-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [Adding cutting lines for PDF in FileMaker](https://www.mbsplugins.de/archive/2021-01-04/Adding_cutting_lines_for_PDF_i/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 4/2022, Seite 34](https://filemaker-magazin.de/neuigkeit/4191-Appetithappen-FMM_202204)
- [Ausgabe 5/2021, Seite 26 bis 27](https://filemaker-magazin.de/neuigkeit/4158-Appetithappen-FMM_202105)
- [Ausgabe 5/2018, Seite 28](https://filemaker-magazin.de/neuigkeit/4011-Appetithappen-FMM_201805)

This function checks for a license.

Created 18th August 2014 , last changed 25th September 2024

  
[DynaPDF.AppendImagePages](DynaPDFAppendImagePages.md) - [DynaPDF.ApplyShading](DynaPDFApplyShading.md)

[HTML Version](DynaPDFAppendPage.shtml)