Adding a signature image to a pdf file
basically a sidebar appears and the user drags and drops a image on top of the pdf, then presses save, and i generate a new pdf file with the signature.
the new pdf file is generated indeed, but the signature sometimes appears in the wrong place.
I have this option on the control:
and after its dropped i do this on my save method.
Im guessing that its a bit confusing just looking at that
So i was wondering if you guys have any examples of a drag and drop image on top of a pdf and save it (creating a new pdf file with the image inserted )
Hi Ric,
Thank you
for your interest in Syncfusion products.
With our
current implementation of the PDF Viewer, we only support to add images to some
particular position of the page and dynamic positioning of images in the page
is not supported. We have logged a feature report for supporting the same.
Please follow up the implementation of the feature with the below incident.
Also we have attached a sample to include the image at a particular position in
the page of the PDF document.
Incident ID:
http://www.syncfusion.com/support/directtrac/incidents/131817
Sample link:
http://www.syncfusion.com/downloads/support/directtrac/131817/PDFViewerWintRT_2013-1007219122.zip
Please let
us know if you need any further assistance.
Thanks,
Suresh
like i explained before im trying to add a image to a specific location
what i want is a way to calculate that position.
i can get the screen coordinates where the red X is, but when i convert to the pdf coordinates my Y is wrong because of the scroll offset ( red line )
--------------------------------

Hi Ric,
Thank you for your response.
Implementation to expose Properties of Vertical and Horizontal offset, Gap between the pages and Collection of Page Offsets from the PDF Viewer is available in our service pack release
available in the link below.
We have also prepared a sample to
illustrate the same, please find it in the link below.
http://www.syncfusion.com/downloads/support/directtrac/117981/Sample-1598858007.zip
Sample
Explanation:
· *Canvas for image to draw in your Pdf
file will be enabled if you clicked the button “Toggle to Insert Image”.
· *If the Canvas is enabled the functioning
of scrollbar gets disabled to avoid unwanted scrolling.
· * While you clicking anywhere on the
Pdf file image will be drawn at the respective clicking position.
Note: The above can work only after
the installation of the WinRT build from the Volume 3 service pack release.
Please let us know if you need any
further assistance.
Regards,
Sathish Sivakumar.
- 4 Replies
- 4 Participants
-
RS Ric Silva
- Nov 6, 2014 04:40 PM UTC
- May 22, 2015 04:38 AM UTC