dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

SmoothingMode is not settable in some graphics contexts.

Open ajpro opened this issue 10 months ago • 3 comments

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

ajpro avatar Feb 27 '25 16:02 ajpro

Tagging subscribers to this area: @dotnet/area-system-drawing

@JeremyKuhne

carlossanlop avatar Mar 03 '25 18:03 carlossanlop

Docs can be updated to clarify this. It is expected behavior, and we cannot change it.

JeremyKuhne avatar Mar 03 '25 18:03 JeremyKuhne