Share via

UWP XAML Printing sample from GitHub problem.

VoyTec 671 Reputation points
2021-05-30T18:41:00.163+00:00

Greetings,

I ask for help.
I am using printing sample from GitHub from Microsoft Learn and I am facing a problem.
The printing page doesn't look like I designed it in Visual Studio - it moves objects, cuts, half of page works and the other don't.
Why it works like this? How do I solve a problem: I want printing page look like I designed it in Visual Studio...

Developer technologies | Universal Windows Platform (UWP)
0 comments No comments

1 answer

Sort by: Most helpful
  1. AryaDing-MSFT 2,916 Reputation points
    2021-05-31T08:36:12+00:00

    Hi,

    Wellcome to Microsoft Q&A!

    The NotifyUser method is a customized method, which always is called to Update UI to Show notification message. This method is called from within the individual scenario XAML pages on the instance of MainPage that's returned from the static Current field. NotifyUser takes a parameter of type NotifyType.

    You could find the source code of NotifyUser method here. Besides, you could also click the method name, then you will find many similar method definitions, please check these methods.


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.