V.3.1
clsMemDC

This class permits you to manage an API Device Context in a safe way and provides conversion functions for VB6.

Methods:
BkColor Sets/Gets the background color of the DC
BkMode Sets/Gets the background mode of the DC
CloneFromHBmp Creates the memory DC from a Bitmap (image.picture.handle)
CloneFromHdc Creates the memory DC from an HDC (picturebox.hdc)
CreateDC Creates a memory DC (and the associated bitmap) using specified size
Destroy Releases the memory used by the class
DrawBackColor Draw a color on the memory DC
HBmp Returns the handle of the inner image
Hdc Returns the handle to the internal Device Context
PaintPicture Paints the current bitmap to a DC
Picture Gets a standard VB6 picture from the DC
ReleasehBmp Gets the handle of the internal bitmap and releases other memory (the program MUST release the handle manually using the DeleteObject API)
ResizeDC Resizes a memory DC to a specified size
Width / Height The image size
http://www.hexagora.com
Thu, 22 Sep 2011 17:54:35 UT
Copyright 2003-11 by Lorenzi Davide