[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.ImportColorChannel

ImportColorChannel Method

ImportColorChannel(GrayscaleBitmap, ColorChannel)

Copies data from a GrayscaleBitmap to one color channel of the current GcBitmap of the same pixel size.

Declaration
public void ImportColorChannel(GrayscaleBitmap sourceImage, ColorChannel colorChannel)
Public Sub ImportColorChannel(sourceImage As GrayscaleBitmap, colorChannel As ColorChannel)
Parameters
Type Name Description
GrayscaleBitmap sourceImage

A GrayscaleBitmap with source data.

ColorChannel colorChannel

A channel of the destination GcBitmap to be updated.