Tag Archives: anti-alias

How to Anti-Alias Graphics using VB.NET

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Simple source code of how to draw using Anti-Alias rending in VB.NET.

       Imports System.Drawing.Drawing2D

        'Just a example for your graphics variable. Change g to whatever your object variable is.
        Dim g As Graphics
        'Will smooth out all your lines, edges, corners, ect....
        g.Graphics.SmoothingMode = SmoothingMode.AntiAlias