clsMEMDC.CloneFromHdc MethodSelects the image contained in the given Device Context and copies it to the new internal Device ContextSyntax
Public Sub CloneFromHdc (ByVal lHdc As Long, _
Optional ByVal lSrcLeft As Long = 0, _ Optional ByVal lSrcTop As Long = 0, _ Optional ByVal lSrcWidth As Long = -1, _ Optional ByVal lSrcHeight As Long = -1, _ Optional ByVal eRop As RasterOpConstants = vbSrcCopy) Parameters
Remarks
In this sample we'll color our form in red
Option Explicit |