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 As BitmapSource, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As Bitmap
public Bitmap CreateBitmapFromSourceRect(
BitmapSource ,
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- bitmapSourceRef
- x
- y
- width
- height
See Also