[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.ApplyTransparencyMask

ApplyTransparencyMask Method

ApplyTransparencyMask(BilevelBitmap, Rectangle?)

Applies a transparency mask to the current image or its portion.

Declaration
public void ApplyTransparencyMask(BilevelBitmap transparencyMask, Rectangle? clipRect = null)
Public Sub ApplyTransparencyMask(transparencyMask As BilevelBitmap, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
BilevelBitmap transparencyMask

A BilevelBitmap with the transparency mask.

Rectangle? clipRect

The target rectangle of the GcBitmap.

ApplyTransparencyMask(GrayscaleBitmap, Rectangle?)

Applies a transparency mask to the current image or its portion.

Declaration
public void ApplyTransparencyMask(GrayscaleBitmap transparencyMask, Rectangle? clipRect = null)
Public Sub ApplyTransparencyMask(transparencyMask As GrayscaleBitmap, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
GrayscaleBitmap transparencyMask

A GrayscaleBitmap with the transparency mask.

Rectangle? clipRect

The target rectangle of the GcBitmap.