method Thumbnail.SaveAs (File as String, [Width as Variant], [Height as Variant])
Save the thumbnail, as a picture file in specified format giving by the extension ( characters after last dot, determines the graphical/ format of the file ).

TypeDescription
File as String A String expression that specifies the picture-file to be generated. The extension of the file ( characters after last dot ) determines the graphical/ format of the file to be saved as follows:
  • *.bmp *.dib *.rle, exports the pages to BMP format.
  • *.jpg *.jpe *.jpeg *.jfif, exports the pages to JPEG format.
  • *.gif, , exports the pages to GIF format.
  • *.tif *.tiff, exports the pages to TIFF format.
  • *.png, exports the pages to PNG format.
Width as Variant A Long expression that specifies the width of the picture to be generated. If missing, it generates a picture of 120-pixels wide. 
Height as Variant A Long expression that specifies the height of the picture to be generated. If missing, it generates a picture of 120-pixels tall.
The SaveAs method generates programmatically pictures from the current thumbnail, as BMP, JPG, GIF, PNG, TIFF format. Use the InputFile property to specify a file whose thumbnail should be get. Call the OutputFile property to programmatically save the thumbnail picture as BMP or ICO. Use the Thumbnail property to access the thumbnail as a picture. Use the ThumbnailType property to retrieve the type of the thumbnail being retrieved. For instance, you can use the SaveAs method to generates a BMP file from an EBN object, or from a PDF or CAD file.