ImageOrPrintOptions.SmoothingMode

ImageOrPrintOptions.SmoothingMode property

Specifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas. The default value is SmoothingMode.None

public SmoothingMode SmoothingMode { get; set; }

Examples

// Called: SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality
        public void ImageOrPrintOptions_Property_SmoothingMode()
        {
            ImageOrPrintOptions opt = new ImageOrPrintOptions()
            {
                ImageType = ImageType.Png,
#if !NETCOREAPP3_1_OR_GREATER
                SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality
#endif
            };
        }

See Also