# Public Function ProcessFolders(dbSrc As NotesDatabase, FoldersList As Variant, IncludeResponses As B

**Defined in**

`SwPDFCreator`

**Syntax**

`Set swPDFDocument = swPDFCreator.ProcessFolders(db, FoldersList, IncludeResponses)`

**Parameters**

`dbSrc`

NotesDatabase. Database were defined folders are stored in.

`FoldersList`

Variant. List of folders that will be exported. If empty, all available folders will be exported.

`IncludeResponses`

Boolean. True if response documents should be converted as well.

**Return value**

`SwPDFDocument`

PDF with bookmarks tree representing Notes view.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfcreator/public-function-processfolders-dbsrc-as-notesdatabase-folderslist-as-variant-includeresponses-as-b.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
