Spread for ASP.NET 11 Product Documentation
CanPrint Property (SpreadImage)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SpreadImage Class : CanPrint Property
Gets or sets whether to print the current image when printing.
Syntax
'Declaration
 
Public Overridable Property CanPrint As Boolean
'Usage
 
Dim instance As SpreadImage
Dim value As Boolean
 
instance.CanPrint = value
 
value = instance.CanPrint
public virtual bool CanPrint {get; set;}
Example
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;
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

Reference

SpreadImage Class
SpreadImage Members