MicrosoftEdge / MicrosoftEdge/WebView2Feedback
CoreWebView2.PrintToPdf(Async) - single page pdf (remove empty pages)
@Lakshmisha-KS is already working on this.
Since Feb 12, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Till now, it is possible to create pdf files but it depends on the external websites how many pages are created. It is not possible to create a pdf with one page only. Another use case: PDF should not contain any empty pages which are generated due to a misdesigned website.
Describe the solution you'd like and alternatives you've considered
solution 1: prevent empty pages at the end of the pdf file ?
solution 2: CoreWebView2PrintSettings.PageRanges is used to limit the page count (regardless if the following pages are empty or not)
bug:
#3476
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.