C# arcengine,取得ArcMap文档缩略图
private Image GetThumbnail(IMapDocument pMapDoc)
{
return System.Drawing.Image.FromHbitmap((IntPtr)(pMapDoc.Thumbnail.Handle));
}
private void button1_Click(object sender, EventArgs e)
{
IMapDocument pMapDoc = new MapDocumentClass();
pMapDoc.Open(@"D:\基本农田空间布局图.mxd", "");
GetThumbnail(pMapDoc).Save(@"c:\1.jpg");
}