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


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

    Parameters

    i
    Image
    style
    Picture style
    transparencyColor
    Which color is transparent
    transparencyTolerance
    Amount of tolerance of transparency from the color value
    alignHorz
    Horizontal alignment of image
    alignVert
    Vertical alignment of image
    See Also