This documentation is archived and is not being maintained.

Graphics.SmoothingMode Property

Gets or sets the rendering quality for this Graphics object.

[Visual Basic]
Public Property SmoothingMode As SmoothingMode
public SmoothingMode SmoothingMode {get; set;}
public: __property SmoothingMode get_SmoothingMode();
public: __property void set_SmoothingMode(SmoothingMode);
public function get SmoothingMode() : SmoothingMode;
public function set SmoothingMode(SmoothingMode);

Property Value

This property specifies a member of the SmoothingMode enumeration.


The smoothing mode specifies whether lines, curves, and the edges of filled areas use smoothing (also called antialiasing). One exception is that path gradient brushes do not obey the smoothing mode. Areas filled using a PathGradientBrush object are rendered the same way (aliased) regardless of the SmoothingMode property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Graphics Class | Graphics Members | System.Drawing Namespace