C# Class TpTrayUtility.Components.GDI32

Show file Open project: TargetProcess/Tp.TrayUtility Class Usage Examples

Public Methods

Method Description
DrawControlToBitMap ( Control srcControl, Bitmap destBitmap, Rectangle destBounds ) : void

Private Methods

Method Description
BitBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, TernaryRasterOperations dwRop ) : int

Method Details

DrawControlToBitMap() public static method

public static DrawControlToBitMap ( Control srcControl, Bitmap destBitmap, Rectangle destBounds ) : void
srcControl System.Windows.Forms.Control
destBitmap System.Drawing.Bitmap
destBounds System.Drawing.Rectangle
return void