Accusoft.ImagXpress13.Net
CreateColorPalette(PixelFormat) Method




A PixelFormat to specify for the color palette.
Creates a System.Drawing.Imaging.ColorPalette object based on the pixel format specified.
Syntax
'Declaration
 
Public Overloads Shared Function CreateColorPalette( _
   ByVal pixelFormat As PixelFormat _
) As ColorPalette
'Usage
 
Dim pixelFormat As PixelFormat
Dim value As ColorPalette
 
value = ImageX.CreateColorPalette(pixelFormat)
public static ColorPalette CreateColorPalette( 
   PixelFormat pixelFormat
)
public: static ColorPalette* CreateColorPalette( 
   PixelFormat pixelFormat
) 
public:
static ColorPalette^ CreateColorPalette( 
   PixelFormat pixelFormat
) 

Parameters

pixelFormat
A PixelFormat to specify for the color palette.

Return Value

Remarks
This helper function is for convenience and can be used as a class factory for the System.Drawing.Imaging.ColorPalette class since it is a sealed class that does not allow it to be dynamically created with a new.
See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback