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


In This Topic
    ShouldSerializePictureTransparencyColor Method (ChartShape)
    In This Topic
    Indicates whether the PictureTransparencyColor property should be persisted.
    Syntax
    'Declaration
     
    
    Public Overrides Function ShouldSerializePictureTransparencyColor() As Boolean
    'Usage
     
    
    Dim instance As ChartShape
    Dim value As Boolean
     
    value = instance.ShouldSerializePictureTransparencyColor()
    public override bool ShouldSerializePictureTransparencyColor()

    Return Value

    The transparency color
    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