Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / ResetPictureTransparencyColor Method
Example


In This Topic
    ResetPictureTransparencyColor Method (ChartShape)
    In This Topic
    Resets the transparency of a picture in the element to its default value.
    Syntax
    'Declaration
     
    
    Public Overrides Sub ResetPictureTransparencyColor() 
    'Usage
     
    
    Dim instance As ChartShape
     
    instance.ResetPictureTransparencyColor()
    public override void ResetPictureTransparencyColor()
    Example
    control.Picture = Image.FromFile("d:\overlay.bmp");
    control.MarginTop = 3;
    control.MarginBottom = 3;
    control.PictureTransparencyColor = Color.Blue;
    private void button1_Click(object sender, System.EventArgs e)
    {
    control.ResetPictureTransparencyColor()
    }
    control.Picture = Image.FromFile("d:\overlay.bmp")
    control.MarginTop = 3
    control.MarginBottom = 3
    control.PictureTransparencyColor = Color.Blue
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    control.ResetPictureTransparencyColor()
    End Sub
    See Also