Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImage Class / Visible Property
Example


In This Topic
    Visible Property (SpreadImage)
    In This Topic
    Gets or sets whether to display the SpreadImage.
    Syntax
    'Declaration
     
    Public Overrides Property Visible As Boolean
    'Usage
     
    Dim instance As SpreadImage
    Dim value As Boolean
     
    instance.Visible = value
     
    value = instance.Visible
    public override bool Visible {get; set;}
    Example
    This example sets the Visible property.
    FarPoint.Web.Spread.SpreadImage Image = new FarPoint.Web.Spread.SpreadImage();
    Image.CanSize = false;
    Image.CanPrint = true;
    Image.ID = "FirstImage";
    Image.ImageUrl = "fplogo.png";
    Image.Width = 200;
    Image.Height = 150;
    Image.Visible = true;
    FpSpread1.ActiveSheetView.Images.Add(Image);
    Dim Image As New FarPoint.Web.Spread.SpreadImage()
    Image.CanSize = False
    Image.CanPrint = True
    Image.ID = "FirstImage"
    Image.ImageUrl = "fplogo.png"
    Image.Width = 200
    Image.Height = 150
    Image.Visible = True
    FpSpread1.ActiveSheetView.Images.Add(Image)
    See Also