Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / PictureTransparencyColor Property
Example


In This Topic
    PictureTransparencyColor Property (ChartShape)
    In This Topic
    Gets or sets the picture transparency color for the element.
    Syntax
    'Declaration
     
    
    Public Overrides Property PictureTransparencyColor As Color
    'Usage
     
    
    Dim instance As ChartShape
    Dim value As Color
     
    instance.PictureTransparencyColor = value
     
    value = instance.PictureTransparencyColor
    public override Color PictureTransparencyColor {get; set;}
    Example
    control.Picture = Image.FromFile("d:\overlay.bmp");
    control.MarginTop = 3;
    control.MarginBottom = 3;
    control.PictureTransparencyColor = Color.Blue;
    control.Picture = Image.FromFile("d:\overlay.bmp")
    control.MarginTop = 3
    control.MarginBottom = 3
    control.PictureTransparencyColor = Color.Blue
    See Also