DioDocs for PDF
ToIndexed8bppBitmap(Int32,Boolean) メソッド

GrapeCity.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス > ToIndexed8bppBitmap メソッド : ToIndexed8bppBitmap(Int32,Boolean) メソッド
The maximum number of opaque colors in the palette, from 8 to 256.
Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 256.
Creates an opaque Indexed8bppBitmap from the current image using the Octree quantizer algorithm.
シンタックス
'宣言
 
Public Overloads Function ToIndexed8bppBitmap( _
   ByVal maxColors As System.Integer, _
   Optional ByVal appendTransparentColor As System.Boolean _
) As Indexed8bppBitmap
public Indexed8bppBitmap ToIndexed8bppBitmap( 
   System.int maxColors,
   System.bool appendTransparentColor
)

パラメータ

maxColors
The maximum number of opaque colors in the palette, from 8 to 256.
appendTransparentColor
Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 256.

戻り値の型

A new instance of Indexed8bppBitmap.
参照

GcBitmap クラス
GcBitmap メンバ
オーバーロード一覧