Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ConvertToOpaque Method / ConvertToOpaque(Color) Method
The color to be used as background for transparent pixels.

In This Topic
    ConvertToOpaque(Color) Method
    In This Topic
    Converts an image with transparent or semitransparent pixels to fully opaque with specified background color.
    Syntax
    'Declaration
     
    Public Overloads Sub ConvertToOpaque( _
       ByVal backColor As System.Drawing.Color _
    ) 
    public void ConvertToOpaque( 
       System.Drawing.Color backColor
    )

    Parameters

    backColor
    The color to be used as background for transparent pixels.
    See Also