Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / Indexed4bppBitmap Class / CompactPalette Method
Indicates if the alpha channel supports values between 0 and 255 (if true), or the boundary values only (if false).

In This Topic
    CompactPalette Method (Indexed4bppBitmap)
    In This Topic
    Compacts the image palette to 8 bits per color channel and returns the palette as an array of 32-bit ARGB values.
    Syntax
    'Declaration
     
    Public Function CompactPalette( _
       Optional ByVal allowSemitransparency As System.Boolean _
    ) As System.UInteger()
    public System.uint[] CompactPalette( 
       System.bool allowSemitransparency
    )

    Parameters

    allowSemitransparency
    Indicates if the alpha channel supports values between 0 and 255 (if true), or the boundary values only (if false).
    See Also