Everytime I use GDI+ in managed code in run into problems with the documentation provided by MSDN. Rarely does the documentation match the real code.
For example LockBits in the documentation takes a rectangle, a lock format and a bitmapdata, but when i use it in c++ it actually takes only the Rectangle, the lockformat and returns a bitmapdata object. also the constructors for the Bitmap class do not match the ones displayed by InteliSense.
Maybe ive been doing something wrong though.
For example LockBits in the documentation takes a rectangle, a lock format and a bitmapdata, but when i use it in c++ it actually takes only the Rectangle, the lockformat and returns a bitmapdata object. also the constructors for the Bitmap class do not match the ones displayed by InteliSense.
Maybe ive been doing something wrong though.
Last edited by a moderator: