Unicode Controls & Classes for VB6 - Version 4

clsMEMDC.ResizeCutDC Method

Resizes the internal image cutting it (if the new size is smaller) or adding margins (if the new size is bigger)

Syntax
Public Sub ResizeCutDC (ByVal newWidth As Long, _
ByVal newHeight As Long, _
Optional ByRef iNewBkMode As eMemDcBkMode = eMemDcBkMode_TRANSPARENT)
Parameters
Parameter Description
ByVal newWidth As Long New width (in pixels)
ByVal newHeight As Long New height (in pixels)
Optional ByRef iNewBkMode As eMemDcBkMode = eMemDcBkMode_TRANSPARENT New background mode
Remarks