Skip to content

Commit

Permalink
Fix the image note
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneSjs committed Sep 5, 2023
1 parent 1bc3c73 commit 64b6044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surveyjs-pdf-nodejs/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Take note of the following considerations when exporting PDF forms in Node.js:
* Complex HTML is not supported
In Node.js, [HTML](https://surveyjs.io/form-library/documentation/api-reference/add-custom-html-to-survey) questions are rendered in 'standard' [HTML render mode](https://surveyjs.io/pdf-generator/documentation/api-reference/idocoptions#htmlRenderAs) only. The `htmlRenderAs: 'image'` mode is not supported. HTML questions can render simple HTML markup. Complex HTML markup is not supported.
* Images should be referenced as Base-64 encoded URLs.
The `imageUrl` of [Image](https://surveyjs.io/form-library/documentation/api-reference/add-image-to-survey) and [Image Picker](https://surveyjs.io/form-library/documentation/api-reference/add-image-to-survey) questions should be set to Base64 encoded URLs. Links are not supported.
* Images should be referenced as as data URIs (Base64-encoded images)
Images embedded to a survey, such as a survey [logo](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#logo) or images from the [Image](https://surveyjs.io/form-library/documentation/api-reference/add-image-to-survey) and [Image Picker](https://surveyjs.io/form-library/documentation/api-reference/add-image-to-survey) questions, should be set to Base64 encoded URIs. Direct linking (URLs) are not supported.
## SurveyJS PDF Generator Resources
Expand Down

0 comments on commit 64b6044

Please sign in to comment.