Export To PNG

Exports specified pages of the currently open file to Png image.

string path, bool perPageThread
ExportToPng("C:\files\png\", false);
// When perPageThread is set to true, it will create a new thread to export each page to png.
string path, string token, bool perPageThread
ExportToPng("C:\files\png\", "some-token", false);
string path, string token, int startPage, int endPage, bool perPageThread
ExportToPng("C:\files\png\", "some-token", 1, 5, true);