Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / Picture Class / Picture Constructor / Picture Constructor(Image,RenderStyle,Color,Int32)
Image
Picture style
Which color is transparent
Amount of tolerance of transparency from the color value


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

    Parameters

    i
    Image
    style
    Picture style
    transparencyColor
    Which color is transparent
    transparencyTolerance
    Amount of tolerance of transparency from the color value
    See Also