[]
IWICBitmapClipper
[Guid("E4FBCF03-223D-4e81-9333-D635556DD1B5")]
public class BitmapClipper : BitmapSource, IDisposable, IUnknown
Initializes a new instance of the BitmapClipper class.
public BitmapClipper(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the BitmapClipper class.
public static BitmapClipper Create(ImagingFactory factory)
factory
ImagingFactoryThe factory.
Initializes the bitmap clipper with the provided parameters.
public void Initialize(BitmapSource sourceRef, RectL rectangleRef)
sourceRef
BitmapSourcehe input bitmap source.
rectangleRef
RectLThe rectangle of the bitmap source to clip.
HRESULT IWICBitmapClipper::Initialize([In] IWICBitmapSource* pISource,[In] const void* prc)
public void Initialize(BitmapSource sourceRef, IntPtr rectangleRef)
sourceRef
BitmapSourcerectangleRef
System.IntPtrPerforms an explicit conversion from System.IntPtr to BitmapClipper.
public static explicit operator BitmapClipper(IntPtr nativePointer)
nativePointer
System.IntPtr