question

Voytec avatar image
0 Votes"
Voytec asked AryaDing-MSFT edited

UWP XAML Printing sample from GitHub problem.

Greetings,

I ask for help.
I am using printing sample from GitHub from Microsoft docs 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...

windows-uwp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AryaDing-MSFT avatar image
0 Votes"
AryaDing-MSFT answered AryaDing-MSFT edited

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.