| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property CanPrint As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As SpreadChart Dim value As Boolean instance.CanPrint = value value = instance.CanPrint | |
| C# | |
|---|---|
public virtual bool CanPrint {get; set;} | |
This example sets the print property for the chart control.
| C# | Copy Code |
|---|---|
FarPoint.Web.Spread.Chart.SpreadChart chart = new FarPoint.Web.Spread.Chart.SpreadChart(); chart.Model = model; chart.CanPrint = true; FpSpread1.Sheets[0].Charts.Add(chart); | |
| Visual Basic | Copy Code |
|---|---|
Dim chart As New FarPoint.Web.Spread.Chart.SpreadChart() chart.Model = model chart.CanPrint = True FpSpread1.Sheets(0).Charts.Add(chart) | |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6