Query |
Details |
I have load an annotation like watermark for the pdf.
I would like to know if it is possible to make that note "READONLY" or "DISABLED", not deletable and not-draggable.
I will attach my json, the note as watermark is place in the first page, under "freeTextAnnotation".
There it is a property to make it "READONLY" or "DISABLED" ?? If not, we would like to have it as feature..
|
We can make the freeText annotation as ‘ReadOnly’ by setting the isLock property to true. Please find the sample for the same from the below,
Please try it and revert us if you have any concerns on this. |
Is possible to make the pdf viewer on two columns?
Like Page 1-2 , then 3-4 , on two columns viewer.
If it is possible, can you share an example by loading a pdf ?
|
Currently, we don’t have support to view the pdf document in Double Page View Mode. We have added it to our feature request list.But, we don’t have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features. We will implement this feature in any of our upcoming releases.
Now, you can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through below link.
|
let viewer: PdfViewer = new PdfViewer();
viewer.serviceUrl = 'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
viewer.appendTo('#pdfViewer');
viewer.load('PDF_Succinctly.pdf', null);
viewer.freeTextSettings.isLock = true;
|
Is there any possibilities to restrict the drag and resize option in stamp annotation (rejected)
Hi sample,
Kindly refer the below code snippet and sample to restrict the drag and resize option in stamp annotation.
Code Snippet:
var viewer = document.getElementById('container').ej2_instances[0]; for (var i = 0; i < viewer.annotationCollection.length; i++) { if((viewer.annotationCollection[i].shapeAnnotationType === "stamp") && (viewer.annotationCollection[i].icon === "Rejected")){ viewer.annotationCollection[i].annotationSettings.isLock = true; viewer.annotation.editAnnotation(viewer.annotationCollection[i]); } }
|
Sample: https://stackblitz.com/edit/epldap-y6ehzw?file=index.js,index.html
Steps to lock the rejected annotation:
Regards,
CCM Karthik