ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.WIC Namespace / Palette Class / Initialize Method / Initialize(BitmapSource,Int32,Bool) Method

In This Topic
    Initialize(BitmapSource,Int32,Bool) Method
    In This Topic
    HRESULT IWICPalette::InitializeFromBitmap([In] IWICBitmapSource* pISurface,[In] unsigned int cCount,[In] BOOL fAddTransparentColor)
    Syntax
    'Declaration
     
    Public Overloads Sub Initialize( _
       ByVal surfaceRef As BitmapSource, _
       ByVal count As System.Integer, _
       ByVal fAddTransparentColor As Bool _
    ) 
    public void Initialize( 
       BitmapSource surfaceRef,
       System.int count,
       Bool fAddTransparentColor
    )

    Parameters

    surfaceRef
    count
    fAddTransparentColor
    See Also