89fb6f1452d80187d1bfb6d239b44e7577328d46
Implemented a new feature to render clickable "Sign" buttons on the PDF canvas at signature field positions fetched from the database. - Updated `EnvelopeViewer.razor` to fetch signature data, convert coordinates from inches to points, and invoke JavaScript for rendering. - Added `renderSignatureButtons` and `clearSignatureButtons` functions in `pdf-viewer.js` to dynamically create and position buttons based on page and zoom level. - Modified HTML to include a new `#pdf-signature-layer` overlay for buttons. - Styled buttons with a purple gradient, hover/active effects, and focus outlines for accessibility. - Defined rendering triggers for initial load, page changes, and zoom changes. - Documented coordinate conversion flow from inches to points to pixels for accurate positioning. - Enhanced accessibility with `tabindex="0"`, focus outlines, and semantic `<button>` elements.
Description
No description provided
Languages
JavaScript
86.8%
C#
6.6%
Visual Basic .NET
2.7%
HTML
2.3%
CSS
1.1%
Other
0.4%