Documents for Imaging .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ApplyTransparencyMask Method / ApplyTransparencyMask(GrayscaleBitmap,Nullable<Rectangle>) Method
A GrayscaleBitmap with the transparency mask.
The target rectangle of the GcBitmap.

In This Topic
    ApplyTransparencyMask(GrayscaleBitmap,Nullable<Rectangle>) Method
    In This Topic
    Applies a transparency mask to the current image or its portion.
    Syntax
    'Declaration
     
    Public Overloads Sub ApplyTransparencyMask( _
       ByVal transparencyMask As GrayscaleBitmap, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) 
    public void ApplyTransparencyMask( 
       GrayscaleBitmap transparencyMask,
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    transparencyMask
    A GrayscaleBitmap with the transparency mask.
    clipRect
    The target rectangle of the GcBitmap.
    See Also