Component: WinPDF 
------------------

Windows PDF functions

Native functions in Windows 10 to display PDF files.  
See [PDFKit](component_PDFKit.md) functions for macOS or check [DynaPDF](component_DynaPDF.md) functions for cross platform solutions.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [13.2](newinversion132.md "First functions introduced with version 13.2.") | 🔶 7% | ✅ Yes | ❌ No | ✅ Yes, on Windows | 🔶 7% |

  
| Item | Details |
|:--|:--|
| [WinPDF.GeneratePreview](WinPDFGeneratePreview.md)   Adds preview to an existing PDF container. | Mac/Win/iOS   13.2 |
| [WinPDF.IsPasswordProtected](WinPDFIsPasswordProtected.md)   Whether this document is password-protected. | Win only   13.2 |
| [WinPDF.List](WinPDFList.md)   Returns list of all Windows PDF IDs. | Win only   13.2 |
| [WinPDF.LoadContainer](WinPDFLoadContainer.md)   Loads a PDF document from data in container. | Win only   13.2 |
| [WinPDF.LoadFile](WinPDFLoadFile.md)   Loads a PDF document from file synchronously. | Win only   13.2 |
| [WinPDF.PageBox](WinPDFPageBox.md)   Queries page dimensions. | Win only   13.2 |
| [WinPDF.PageCount](WinPDFPageCount.md)   Gets the number of pages in the Portable Document Format (PDF) document. | Win only   13.2 |
| [WinPDF.PageHeight](WinPDFPageHeight.md)   Queries page height. | Win only   13.2 |
| [WinPDF.PageImage](WinPDFPageImage.md)   Renders a page to an image. | Win only   13.2 |
| [WinPDF.PageImageAtSize](WinPDFPageImageAtSize.md)   Renders a page to an image. | Win only   13.2 |
| [WinPDF.PagePreferredZoom](WinPDFPagePreferredZoom.md)   Gets the Portable Document Format (PDF) page's preferred magnification factor. | Win only   13.2 |
| [WinPDF.PageRotation](WinPDFPageRotation.md)   Queries rotation for a page. | Win only   13.2 |
| [WinPDF.PageWidth](WinPDFPageWidth.md)   Queries page width. | Win only   13.2 |
| [WinPDF.Release](WinPDFRelease.md)   Releases an object reference. | Win only   13.2 |
| [WinPDF.ReleaseAll](WinPDFReleaseAll.md)   Releases all PDF documents. | Win only   13.2 |

15 functions shown.

These functions require a license (60%).

### Release notes

- **Version 13.2**
    - Added [WinPDF](https://www.mbsplugins.eu/component_WinPDF.shtml) functions to use built-in PDF features on Windows.
    - Fixed problem in [WinPDF.PageImageAtSize](https://www.mbsplugins.eu/WinPDFPageImageAtSize.shtml) when passing width and height as zero.
    - Implemented [PDFKit.GeneratePreview](https://www.mbsplugins.eu/PDFKitGeneratePreview.shtml) for Windows by using [WinPDF](https://www.mbsplugins.eu/component_WinPDF.shtml) functions.

### Blog Entries

- [MBS @ FMTraining.TV - What’s New in the FileMaker MonkeyBread Plug-in - 13.2 Release](https://www.mbsplugins.de/archive/2023-05-21/MBS_@_FMTrainingTV_-_What’s_/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 13.2 für Claris FileMaker](https://www.mbsplugins.de/archive/2023-05-09/Neues_MBS_Plugin_132_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 13.2 for Claris FileMaker](https://www.mbsplugins.de/archive/2023-05-09/MBS_Plugin_132_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin for Windows Server 2012](https://www.mbsplugins.de/archive/2023-04-29/MBS_Plugin_for_Windows_Server_/monkeybreadsoftware_blog_filemaker)
- [MBS @ FMTraining.TV - PDF Management](https://www.mbsplugins.de/archive/2023-04-27/MBS_@_FMTrainingTV_-_PDF_Manag/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr1](https://www.mbsplugins.de/archive/2023-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### Example Databases

- [Barcode/Barcodes from Invoices](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Barcode/Barcodes%20from%20Invoices.shtml#1ScriptAnchor_)
- [Containers/Create Container Preview](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Containers/Create%20Container%20Preview.shtml#1ScriptAnchor_)
- [Win Only/WinPDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/WinPDF.shtml#2ScriptAnchor_)

[HTML Version](component_WinPDF.shtml)