# Public Function ProcessDocCollection(dc As NotesDocumentCollection, DbView As String) As SwPDFDocume

Converts Notes document collection to a PDF. Created PDF document cannot be modified after creation (for example, by appending another PDF document), as bookmarks or package structure will be lost.

**Defined in**

`SwPDFCreator`

**Syntax**

`Set swPDFDocument = swPDFCreator.ProcessDocCollection(notesDocumentCollection, dbView)`

**Parameters**

`NotesDocumentCollection`

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

`dbView`

String. Source view name, used to create portable collection columns.

**Return value**

`SwPDFDocument`

Converted Notes document collection.
