DeletePages Example VB

This example demonstrates how to delete a single page in a file.

Private Sub cmdDeletePage_Click()
    'Delete 1 page, starting with page 4.
    ImgAdmin1.DeletePages 4, 1
End Sub