How to change the location of the temp path?

Q:

We have a process that extracts PDF pages and creates and edits PDF
using PDFNet. It seems in order to do this PDFNet needs access to the
temporary folder. Is there a way of changing the folder PDFNet uses
for this process.
---
A:

You could use pdftron.PDFNet.SetTempPath("mypath") to change to
location of temporary folder (the default location is standard temp
path).