Hem / Tips & tricks
Dim r as System.Drawing.Regionr = Regions.GetInvisibleImageRegion(New System.Drawing.Bitmap("testbild.bmp"), System.Drawing.Color.Magenta)Me.Region = r