ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.WIC Namespace / ImagingFactory Class / CreateBitmapFromSourceRect Method

In This Topic
    CreateBitmapFromSourceRect Method
    In This Topic
    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 Integer, _
       ByVal y As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) As Bitmap
    public Bitmap CreateBitmapFromSourceRect( 
       BitmapSource bitmapSourceRef,
       int x,
       int y,
       int width,
       int height
    )

    Parameters

    bitmapSourceRef
    x
    y
    width
    height
    See Also