Unicode Controls & Classes for VB6 - Version 4

clsMEMDC.CreateDC Method

Creates an image with a specified size (in pixels) and assign it to an internal Device context so you can easily use Windows drawing function on it

Syntax
Public Sub CreateDC (ByVal Width As Long, _
ByVal Height As Long, _
Optional ByRef iBkMode As eMemDcBkMode = eMemDcBkMode_TRANSPARENT)
Parameters
Parameter Description
ByVal Width As Long The width of the image
ByVal Height As Long The height of the image
Optional ByRef iBkMode As eMemDcBkMode = eMemDcBkMode_TRANSPARENT Background mode for the new created Device Context
Remarks