I am trying to get the dimensions in pixels of bitmap loaded into a picture box. I have tried everything I can think of to get GetBitmapDimensionEx to work, but I still get zeros for height and width and a return value of 1. I cannot find much documentation on the web about this function.
Can someone please help me with a simple example of how to get height and width of a bitmap. If there is a better way than to use GetBitmapDimensionEx, I would also be interested.
Thanks.
Scott




Reply With Quote