PDF document configuration. Pass it as the second argument to the SurveyPDF constructor:
const surveyPdf = new SurveyPDF.SurveyPDF(surveyJson, pdfDocOptions);
Specifies whether to apply the imageFit property to exported Image questions.
If you enable the applyImageFit property, the quality of images may be lower because they pass through several conversions. If applyImageFit is disabled, exported images fill the entire container and do not preserve their aspect ratio, but their quality remains the same because they are exported as is.
Removes watermarks from the exported document.
IMPORTANT: You can enable this property only if you have a SurveyJS PDF Export commercial license. It is illegal to enable this property without a license.