WPF Printing to fit page
问题 i searched for options how to print WPF controls and found some solutions. I do need to fit my printed control to printing page while preserving aspect ration (my control is square; sudoku grid). I found a solution that resizes and repositions control to fit a page. That works well, but it also repositions that control on my window. here is the code i use for print and scaling : //get selected printer capabilities System.Printing.PrintCapabilities capabilities = dialog.PrintQueue