2010-02-26 60 views

回答

0

是你想知道圖像的大小你的問題?

CBitmap -> GetBitmapDimension 
CImage -> GetWidth and GetHeight 
BITMAP -> bmWidth and bmHeight 

或者你想知道它將在顯示器上的大小?

GetDeviceCaps(hdc, LOGPIXELSX) 
0

使用GDI +位圖或圖像類。

+0

你可能已經提供了一些代碼,即使這個問題有點簡單。 – LSerni 2012-11-13 09:48:29