ComponentOne Bitmap for UWP
Palette Class Members
Properties  Methods  Events

C1.UWP.DX Assembly > C1.Util.DX.WIC Namespace : Palette Class

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 MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from C1.Util.DX.DisposeBase)
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
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

Reference

Palette Class
C1.Util.DX.WIC Namespace