ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / BitmapClipper Class / Initialize Method / Initialize(BitmapSource,RectL) Method

he input bitmap source.

The rectangle of the bitmap source to clip.


In This Topic
    Initialize(BitmapSource,RectL) Method
    In This Topic

    Initializes the bitmap clipper with the provided parameters.

    Syntax
    'Declaration
     
    Public Overloads Sub Initialize( _
       ByVal sourceRef As BitmapSource, _
       ByVal rectangleRef As RectL _
    ) 
    public void Initialize( 
       BitmapSource sourceRef,
       RectL rectangleRef
    )

    Parameters

    sourceRef

    he input bitmap source.

    rectangleRef

    The rectangle of the bitmap source to clip.

    Return Value

    If this method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it returns an C1.Util.DX.HResult error code.

    See Also