DiceEffect Example for Visual Basic

Dim RasterProc As New LEADRasterProcess
RasterProc.DiceEffect LEADRasterView1.Raster, 16, 16, 0, _
                                       RGB(0, 0, 0), _
                                       BITMAP_RESIZE Or _
                                       DICE_SIZE Or _
                                       DICE_BORDER