AnnAutoResize example for Visual Basic

' This example will double the size of the bitmap and annotations

LEAD1.AnnAutoResize = True

LEAD1.Size LEAD1.BitmapWidth * 2, LEAD1.BitmapHeight * 2, RESIZE_RESAMPLE