VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Imaging Namespace / Palette Class
Constructors Properties Methods Events SeeAlso
In This Topic
    Palette Class Members
    In This Topic
    The following tables list the members exposed by Palette.
    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the class.
    Public Properties
     NameDescription
    Public PropertyGets the number of colors in this palette.
    Public PropertyGets a value indicating whether this palette has transparent color.
    Public PropertyGets a value indicating whether this palette is standard black-white palette.
    Public PropertyGets a value indicating whether this palette is inverted black-white palette.
    Public PropertyGets a value indicating whether this palette is grayscale palette with 256 colors.
    Public PropertyGets the number of unique colors in this palette.
    Public Methods
     NameDescription
    Public MethodChanges the palette colors to the black and white colors.
    Public MethodCreates a new Palette that is a copy of the current instance.
    Public MethodConverts a bitonal palette to a black-white or white-black palette.
    Public MethodConverts the palette colors to gray colors.
    Public Methodstatic (Shared in Visual Basic)Creates a standard black-white palette, i.e. black is zero.
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates grayscale palette with specified color count.
    Public Methodstatic (Shared in Visual Basic)Creates an inverted black-white palette, i.e. white is zero.
    Public Methodstatic (Shared in Visual Basic)Creates an inverted grayscale palette with specified color count.
    Public MethodReturns a value indicating whether two Palette instances are equal.
    Public MethodFinds the index of specified color in this Palette.
    Public MethodReturns actual pixel format if pixel format does not correspond to this palette.
    Public MethodOverloaded. Returns colors of the palette as array of ARGB values.
    Public MethodReturns the color of specified item of palette.
    Public MethodReturns index of the first transparent color in palette.
    Public Methodstatic (Shared in Visual Basic)Returns an array that contains colors for grayscale pallete.
    Public MethodReturns the hash code for this Palette.
    Public MethodReturns index of palette color, which is nearest to the specified color.
    Public MethodInverts the palette.
    Public MethodConverts this palette to the black-white palette.
    Public MethodSets the color of specified item of palette.
    Public MethodSets the colors of palette.
    Public MethodConverts this palette to a grayscale palette with specified color count.
    Public MethodConverts this palette to the inverted black-white palette.
    Public MethodSets new colors in palette without raising of Changed event.
    Public Methodstatic (Shared in Visual Basic)Returns an array of colors that represents the union of two palettes.
    Public Events
     NameDescription
    Public EventOccurs when this palette is changed.
    See Also