- UID
- 5126
- 积分
- 0
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-5-16
- 最后登录
- 1970-1-1
|
发表于 2003-3-5 14:42:13
|
显示全部楼层
Include File
dbmain.h
Adesk::Boolean
acdbDisplayPreviewFromDwg(
const char *pszDwgfilename,
void* pPreviewWnd);
pszDwgfilename Input path\filename string
pPreviewWnd Input HWND for window within which to display preview
This function obtains the preview image (if any) of the drawing specified by pszDwgfilename and displays it in the window identified by the HWND argument pPreviewWnd.
The image size varies up to a maximum size no larger than 256 x 188 pixels. If the pPreviewWnd window is larger than the image, then the image will be stretched to fit. But, if the window is smaller than the image, the image will not be adjusted and will spill out beyond the window's borders.
Returns Adesk::kTrue if successful, otherwise it returns Adesk::kFals |
|