取得bitmap的大小
点击次数:32 次 发布日期:2008-12-01 11:57:58 作者:源代码网
|
取得bitmap的大小代码如下
CBitmap bitmap; bitmap.LoadBitmap(IDB_BITMAP3); //load resource![]() BITMAP bmp; bitmap.GetBitmap(&bmp);![]() const int nWidth = bmp.bmWidth; //width const int nHeight = bmp.bmHeight; //height |

