This example demonstrates how various images can be specifed by the Image property. It also shows how specific pages within the document can be designated for OCRing by the Pages property.
Private Sub SetImage_Click()
'Showing syntax to display thumbnails of a 1.x Server document
'Note: prefix Image:// denotes service name for 1.x server
ImgThumbnail1.Image = "Image://srvrname\volname:\CAB\DRAWER\FOLDER\YOUR DOC"
'Showing syntax to display thumbnails of a 1.x Server filename
ImgThumbnail1.Image = "Image://srvrname/volname:/dirname/temp.tif"
'Showing syntax to display thumbnails of a 3.x Server document
'Note: prefix Imagex:// denotes service name for 3.x server
ImgThumbnail1.Image = "Imagex://Docid1234"
'Showing syntax to display thumbnails of a an internet image via URL
ImgThumbnail1.Image = "http://www.eastmansoftware.com/sbu/sampimg.tif"
'Showing syntax to display thumbnails of a UNC filename
ImgThumbnail1.Image = "\\srvrname\shared3\images\bw\thisisa.tif"
End Sub