Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / Picture Class / Picture Constructor / Picture Constructor(Image,Color)
Image
Which color is transparent


In This Topic
    Picture Constructor(Image,Color)
    In This Topic
    Creates a picture with the specified image and transparency color.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal i As Image, _
       ByVal transparencyColor As Color _
    )
    'Usage
     
    
    Dim i As Image
    Dim transparencyColor As Color
     
    Dim instance As New Picture(i, transparencyColor)
    public Picture( 
       Image i,
       Color transparencyColor
    )

    Parameters

    i
    Image
    transparencyColor
    Which color is transparent
    See Also