ComponentOne Bitmap for WPF
CreateBitmapFromSourceRect Method

C1.WPF.DX.4 Assembly > C1.Util.DX.WIC Namespace > ImagingFactory Class : CreateBitmapFromSourceRect Method
HRESULT IWICImagingFactory::CreateBitmapFromSourceRect([In, Optional] IWICBitmapSource* pIBitmapSource,[In] unsigned int x,[In] unsigned int y,[In] unsigned int width,[In] unsigned int height,[Out, Fast] IWICBitmap** ppIBitmap)
Syntax
'Declaration
 
Public Function CreateBitmapFromSourceRect( _
   ByVal bitmapSourceRef As BitmapSource, _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer _
) As Bitmap
public Bitmap CreateBitmapFromSourceRect( 
   BitmapSource bitmapSourceRef,
   System.int x,
   System.int y,
   System.int width,
   System.int height
)

Parameters

bitmapSourceRef
x
y
width
height
See Also

Reference

ImagingFactory Class
ImagingFactory Members