Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28463

React Native PDF Signature

$
0
0

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.


Viewing all articles
Browse latest Browse all 28463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>