React Native PDF Signature
Asked Answered
T

1

6

I’m trying to implement a pdf digital signature component for a react-native app.

I am using react-native-pdf for rendering the pdf on the screen and react-native-draggable for dragging the signature on top of the pdf view.

With react-native-draggable I can get the position of the signature on the screen but not related to the position on the pdf document.

Is there a way I can get/calculate the vertical position on the pdf?

I have to take into account different screen sizes, different pdf sizes, and different and variable margins. It looks more or less like this Refer to this image

Any formula/algorithm you can point as help is appreciated.

Tendinous answered 28/9, 2019 at 13:52 Comment(3)
Did you achieve what you want on any screen? or share your codeHypothermal
@Tendinous any progress so far?Jezabelle
@SobanArshad see my other commentTendinous
T
1

I was able to make some progress, I think I can work from here https://medium.com/bouncingshield/react-native-pdf-digital-signature-b63e12cdc714

Tendinous answered 11/2, 2020 at 15:6 Comment(1)
Caution: This method has absolutely no legal valuePilau

© 2022 - 2024 — McMap. All rights reserved.