ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 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