Table of Contents

Method SetColorContexts

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

SetColorContexts(IBitmapEncoder, IReadOnlyList<IColorContext>)

Sets the IColorContext objects for the encoder.

public static void SetColorContexts(this IBitmapEncoder encoder, IReadOnlyList<IColorContext> colorContexts)

Parameters

encoder IBitmapEncoder
colorContexts IReadOnlyList<IColorContext>

SetColorContexts(IBitmapEncoder, IReadOnlyList<IColorContext>, int, int)

Sets the IColorContext objects for the encoder.

public static void SetColorContexts(this IBitmapEncoder encoder, IReadOnlyList<IColorContext> colorContexts, int startIndex, int length)

Parameters

encoder IBitmapEncoder
colorContexts IReadOnlyList<IColorContext>
startIndex int
length int