I want to print from UWP, I prepare UIElement for printing and set it as PreviewPage
this.printDocument.SetPreviewPage(e.PageNumber, currentXAMLToPrint as UIElement);
Printing preview shows right printing preview but without margins. currentXAMLToPrint is placed at the top of the page. I want to place it at the top of the left/top margins (left upper corner of the margins).
How to set/get current margins of the page and set currentXAMLToPrint inside these margins