
You could try to use CoreWebView2PrintSettings.MediaSize Property specifies the media size for a print.
However, if media size is Custom, you should set the PageWidth and PageHeight.
If the issue persists, in order for us to investigate this further, could you please provide the minimal code example that can help us to reproduce the issue on our end?
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Regards,
Wenying Lu