Actually, something's not right with this.
I get an error message stating that 'CapturePreviewImage is not a member of Autodesk.AutoCAD.ApplicationServices.Document'
I have AcCoreMgd and AcDbMgd both referenced for AutoCAD 2014
I've read the documentation - specifically arxmgd.chm - and it states that CapturePreviewImage is a member of the DocumentExtension Methods (along with CloseAndDiscard, CloseAndSave amongst others!)
What am I missing here?
EDIT:
This post by Gile has the answer- because I'm using VB.NET I have to include this line to access the DocumentExtension Methods:
Imports Autodesk.AutoCAD.ApplicationServices.DocumentExtension