Spread for ASP.NET 9.0 Product Documentation
CanPrint Property (SpreadChart)
Example 


Gets or sets whether to print the current Chart when printing.
Syntax
'Declaration
 
Public Overridable Property CanPrint As Boolean
'Usage
 
Dim instance As SpreadChart
Dim value As Boolean
 
instance.CanPrint = value
 
value = instance.CanPrint
public virtual bool CanPrint {get; set;}
Example
This example sets the print property for the chart control.
FarPoint.Web.Spread.Chart.SpreadChart chart = new FarPoint.Web.Spread.Chart.SpreadChart();
chart.Model = model;
chart.CanPrint = true;
FpSpread1.Sheets[0].Charts.Add(chart);
Dim chart As New FarPoint.Web.Spread.Chart.SpreadChart()
chart.Model = model
chart.CanPrint = True
FpSpread1.Sheets(0).Charts.Add(chart)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SpreadChart Class
SpreadChart Members

 

 


Copyright © GrapeCity, inc. All rights reserved.