# Public Function ProcessDocCollectionFromFile(FilePath As String, DbServer As String, DbPath As Strin

Converts Notes document collection to a PDF. Collection is given as a list of document universal IDs, stored in a text file. IDs are separated by new line.

**Defined in**

`SwPDFCreator`

**Syntax**

`Set swPDFDocument = swPDFCreator.ProcessDocCollectionFromFile(filePath, dbServer, dbPath, dbView)`

**Parameters**

`filePath`

String. Disk location of the text file that holds document UNIDs.

`dbServer`

String. Source database (database where documents listed in a text file resides) server name.

`dbPath`

String. Source database path.

`dbView`

String. Source view name.

**Return value**

`SwPDFDocument`

Converted Notes document collection.
