Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ConvertToOpaque Method / ConvertToOpaque(Color,Rectangle) Method
The color to be used as background for transparent pixels.
The target rectangle of the GcBitmap.

In This Topic
    ConvertToOpaque(Color,Rectangle) Method
    In This Topic
    Converts a part of semitransparent image to opaque with specified background color.
    Syntax
    'Declaration
     
    Public Overloads Sub ConvertToOpaque( _
       ByVal backColor As System.Drawing.Color, _
       ByVal clipRect As System.Drawing.Rectangle _
    ) 
    public void ConvertToOpaque( 
       System.Drawing.Color backColor,
       System.Drawing.Rectangle clipRect
    )

    Parameters

    backColor
    The color to be used as background for transparent pixels.
    clipRect
    The target rectangle of the GcBitmap.
    See Also