RenderCenter example for Visual Basic

    Printer.Print "Center the image on the page"

    LEAD1.RenderCenter = True

    LEAD1.Render Printer.hDC, 0, 0, LEAD1.BitmapWidth, LEAD1.BitmapHeight

    Printer.NewPage

    Printer.EndDoc