MicrosoftEdge / MicrosoftEdge/WebView2Feedback

CoreWebView2.PrintToPdf(Async) - single page pdf (remove empty pages)

Open
#3,487 1 comment 2 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request priority-low tracked
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

AB#44660627

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.