This example shows how to save a page to a new file of the same file type and page type. It also shows how to save the displayed page as a new, uncompressed BMP file at the displayed zoom factor.
Private Sub cmdSavePage_Click()
'Save only the currently displayed page to a new file. Keep file
'type and page type the same as they were originally. Use defaults
'for file compression. Save at original zoom factor.
ImgEdit1.SavePage "D:\image2\savepage.tif", , , , , False, 1
'Save the currently displayed page to a new uncompressed color BMP file.
'Save at the displayed zoom factor.
ImgEdit1.SavePage "D:\image2\saved.bmp", wiFileTypeBMP, wiPageTypeBGR24, 1, 0, True, 1
End Sub