Aging Example for Visual Basic

Dim RasterProc As New LEADRasterProcess
RasterProc.Aging LEADRasterView1.Raster, 10, 2, 50, 2, 5, 6, _
                                                      RGB(255, 255, 0), _
                                          RGB(0, 0, 0), _
                                          RGB(0, 0, 255), _
                                          AGING_ADD_VSCRATCH Or _
                                          AGING_ADD_PITS Or _
                                          AGING_SCRATCH_INV Or _
                                          AGING_PITS_CLR