Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class > ColorResolutionCommand Constructor : ColorResolutionCommand Constructor(ColorResolutionCommandMode,Int32,RasterByteOrder,RasterDitheringMethod,ColorResolutionCommandPaletteFlags,RasterColor[]) |
public ColorResolutionCommand( ColorResolutionCommandMode mode, int bitsPerPixel, RasterByteOrder order, RasterDitheringMethod ditheringMethod, ColorResolutionCommandPaletteFlags paletteFlags, RasterColor[] palette )
'Declaration
Public Function New( _ ByVal mode As ColorResolutionCommandMode, _ ByVal bitsPerPixel As Integer, _ ByVal order As RasterByteOrder, _ ByVal ditheringMethod As RasterDitheringMethod, _ ByVal paletteFlags As ColorResolutionCommandPaletteFlags, _ ByVal palette() As RasterColor _ )
'Usage
Dim mode As ColorResolutionCommandMode Dim bitsPerPixel As Integer Dim order As RasterByteOrder Dim ditheringMethod As RasterDitheringMethod Dim paletteFlags As ColorResolutionCommandPaletteFlags Dim palette() As RasterColor Dim instance As New ColorResolutionCommand(mode, bitsPerPixel, order, ditheringMethod, paletteFlags, palette)
public ColorResolutionCommand( ColorResolutionCommandMode mode, int bitsPerPixel, RasterByteOrder order, RasterDitheringMethod ditheringMethod, ColorResolutionCommandPaletteFlags paletteFlags, RasterColor[] palette )
- (instancetype)initWithMode:(LTColorResolutionCommandMode)mode bitsPerPixel:(NSInteger)bitsPerPixel order:(LTRasterByteOrder)order ditheringMethod:(LTRasterDitheringMethod)ditheringMethod paletteFlags:(LTColorResolutionCommandPaletteFlags)paletteFlags palette:(nullable NSArray<LTRasterColor *> *)palette
public ColorResolutionCommand( ColorResolutionCommandMode mode, int bitsPerPixel, RasterByteOrder order, RasterDitheringMethod ditheringMethod, int paletteFlags, RasterColor[] palette )
function ColorResolutionCommand( mode , bitsPerPixel , order , ditheringMethod , paletteFlags , palette )
public: ColorResolutionCommand( ColorResolutionCommandMode mode, int bitsPerPixel, RasterByteOrder order, RasterDitheringMethod ditheringMethod, ColorResolutionCommandPaletteFlags paletteFlags, array<RasterColor>^ palette )