ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.WIC Namespace / Palette Class
Properties Methods Events


In This Topic
    Palette Class Members
    In This Topic

    The following tables list the members exposed by Palette.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Palette class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the colors.  
    Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
    Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Initializes a new instance of the Palette class.  
    Public MethodOverloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject)
    Public MethodHRESULT IWICPalette::GetColorCount([Out] unsigned int* pcCount)  
    Public MethodHRESULT IWICPalette::GetColors([In] unsigned int cCount,[Out, Buffer] void* pColors,[Out] unsigned int* pcActualColors)  
    Public MethodHRESULT IWICPalette::GetType([Out] WICBitmapPaletteType* pePaletteType)  
    Public MethodHRESULT IWICPalette::HasAlpha([Out] BOOL* pfHasAlpha)  
    Public MethodOverloaded. Initializes with the specified colors.  
    Public MethodHRESULT IWICPalette::IsBlackWhite([Out] BOOL* pfIsBlackWhite)  
    Public MethodHRESULT IWICPalette::IsGrayscale([Out] BOOL* pfIsGrayscale)  
    Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
    Top
    Protected Methods
     NameDescription
    Protected MethodReleases unmanaged resources and performs other cleanup operations before the C1.Util.DX.DisposeBase is reclaimed by garbage collection. (Inherited from C1.Util.DX.DisposeBase)
    Protected MethodOverloaded. Initializes this instance with a pointer from a temporary object and set the pointer of the temporary object to IntPtr.Zero. (Inherited from C1.Util.DX.CppObject)
    Protected MethodMethod called when the NativePointer is updated. (Inherited from C1.Util.DX.ComObject)
    Protected MethodMethod called when NativePointer is going to be update. (Inherited from C1.Util.DX.ComObject)
    Protected MethodQuery Interface for a particular interface support and attach to the given instance. (Inherited from C1.Util.DX.ComObject)
    Top
    Public Events
     NameDescription
    Public EventOccurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase)
    Public EventOccurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase)
    Top
    Public Operators
    Performs an explicit conversion from System.IntPtr to Palette.
    Top
    See Also