Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImage Class / CanPrint Property

In This Topic
    CanPrint Property (SpreadImage)
    In This Topic
    Gets or sets whether to print the current image when printing.
    Public Overridable Property CanPrint As Boolean
    Dim instance As SpreadImage
    Dim value As Boolean
    instance.CanPrint = value
    value = instance.CanPrint
    public virtual bool CanPrint {get; set;}
    This example sets the CanPrint 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;
    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
    See Also