This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Error when trying to set PdfZoomType

SoloX wrote on 2013-07-06:
I've tried both $client->setInitialPdfZoomType("FIT_WIDTH"); and $client->setInitialPdfZoomType(FIT_WIDTH); and I get the following error:

Pdfcrowd Error: [510] Invalid parameter value - initial_view

support wrote on 2013-07-08:
Hello, try this:
$client->setInitialPdfZoomType(Pdfcrowd::FIT_WIDTH)