Thanks
------------------------------- Marianne
------------------------------- Marianne
Can you post a starting point for print selection?
Mark Cunningham
Hi Mark,
If the editor.PrintSettings.PrintDocument.PrinterSettings.PrintRange == PrintRange.Selection then it will print selection.
I'm using the ActiproSoftware.SyntaxEditor.Wpf.dll assembly, and the PrintDocument and PrintRange don't resolve. I can't find either keyword in the help or sample application solutoin. What am I missing?
Thanks.
Mark Cunningham
Hi Mark,
This forum thread is for the WinForms SyntaxEditor, so that reply was related to that version.
The WPF version doesn't currently support printing only a selection, mainly because there is no option for us to interact with in .NET 4.0. I believe Microsoft added an option in .NET 4.5 that allowed the print selection option, but our code still targets .NET 4.0 so we can't work with that yet. You'd probably have to follow Boyd's suggestion above for now on that platform.
Ok, that's for this, sorry about posting in the wrong forum. Our code already did the workaround but I noticed that the fonts/colors don't come through. So more work around work todo.
Thanks.
Mark Cunningham
Please log in to a validated account to post comments.