Skip to content
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

SmoothingMode is not settable in some graphics contexts. #11024

Open
ajpro opened this issue Feb 27, 2025 · 3 comments
Open

SmoothingMode is not settable in some graphics contexts. #11024

ajpro opened this issue Feb 27, 2025 · 3 comments
Assignees
Labels
area-System.Drawing untriaged New issue has not been triaged by the area owner

Comments

@ajpro
Copy link

ajpro commented Feb 27, 2025

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

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 27, 2025
Copy link
Contributor

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

@carlossanlop
Copy link
Member

@JeremyKuhne

@JeremyKuhne
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Drawing untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants