Feature requests: Getting the current x/y position while creating a pdf
Open
Nobody has claimed this yet.
persistent
- Dominant language
- JavaScript
- Stars
- 31.3k
- Forks
- 4.8k
- PR merge metrics
- No merged PRs in 30d
Description
Feature requests,
i like to have a function that returns the x and y coordinates which gives the right bottom position of the last added element.
This would help me add text below a table for instance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading jsPDF's APIs for adding elements and how they track the current document position. Determine whether the last element's right-bottom coordinates are available during PDF creation, then verify the result with an example that places text below a table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100