Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / Picture Property
Example


In This Topic
    Picture Property (ChartShape)
    In This Topic
    Gets or sets the picture for the element.
    Syntax
    'Declaration
     
    
    Public Overrides Property Picture As Image
    'Usage
     
    
    Dim instance As ChartShape
    Dim value As Image
     
    instance.Picture = value
     
    value = instance.Picture
    public override Image Picture {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