-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Color value in PageSettings #13385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This was inadvertently flipped when changing to CsWin32. Fixes dotnet#13367
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13385 +/- ##
===================================================
- Coverage 62.63052% 62.62144% -0.00908%
===================================================
Files 1561 1561
Lines 159839 159851 +12
Branches 14915 14916 +1
===================================================
- Hits 100108 100101 -7
- Misses 58955 58974 +19
Partials 776 776
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/backport to release/9.0 |
|
Started backporting to release/9.0: https://github.com/dotnet/winforms/actions/runs/14718863061 |
Backport of #13385 to release/9.0 /cc @JeremyKuhne ## Customer Impact Reading `PageSettings.Color` gives the wrong value, there is no workaround. ## Testing Regression unit test. ## Risk Low, this was a manual mistake in converting to source generated interop. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13389)
This was inadvertently flipped when changing to CsWin32. Moves helper code for using the PDF printer to write a regression test.
There is no practical workaround for this. If you're looking for whether a printer supports color, however, you can check
PrinterSettings.SupportsColorinstead.Fixes #13367
Microsoft Reviewers: Open in CodeFlow