# Public Function ProcessDocument(doc As NotesDocument) As SwPDFDocument

**Converts Notes document to a PDF.**

**Defined in**

`SwPDFCreator`

**Syntax**

`Set swPDFDocument = swPDFCreator.ProcessDocument(notesDocument)`

**Parameters**

`notesDocument`

Source Notes document that needs to be converted to a PDF.

**Return value**

`SwPDFDocument`

Converted Notes document.
