This documentation is for the old version. Go to the latest Graphics Mill docs

CustomFormatWriter.GetSupportedPixelFormats Method

Returns an array of supported pixel formats.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Protected Friend MustOverride Function GetSupportedPixelFormats As PixelFormat()
C#
protected internal abstract PixelFormat[] GetSupportedPixelFormats()

Return Value

Array of pixel formats supported by this writer.

Examples

C#
protected override PixelFormat[] GetSupportedPixelFormats()
{
    return new PixelFormat[] { PixelFormat.Format1bppIndexed };
}

See Also

Reference