SmoothingMode is not settable in some graphics contexts.
Type of issue
Missing information
Description
In some graphics contexts, such as printing, the SmoothingMode property is not settable. The Graphics object ignores any attempts to set SmoothingMode (no exception is thrown) and its value just remains "None".
Observed in the .NET Framework 4.8, have not tried in .NET.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.drawing.graphics.smoothingmode?view=netframework-4.7.2&devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(System.Drawing.Graphics.SmoothingMode)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%253Dv4.7.2)%3Bk(DevLang-csharp)%26rd%3Dtrue
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Drawing/Graphics.xml
Document Version Independent Id
840b0403-c168-9a77-8567-4fcd583d870f
Article author
@dotnet-bot
Tagging subscribers to this area: @dotnet/area-system-drawing
@JeremyKuhne
Docs can be updated to clarify this. It is expected behavior, and we cannot change it.