FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SheetAxisProperty Class : PageBreak Field |
'Declaration Public Shared ReadOnly PageBreak As SheetAxisProperty
'Usage Dim value As SheetAxisProperty value = SheetAxisProperty.PageBreak
public static readonly SheetAxisProperty PageBreak
FarPoint.Win.Spread.Model.DefaultSheetAxisModel defAxis = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical); fpSpread1.ActiveSheet.Models.ColumnAxis = defAxis; bool b; defAxis.SetPageBreak(10, true); b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.PageBreak); listBox1.Items.Add(b.ToString());
Dim defAxis As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical) defAxis = FpSpread1.ActiveSheet.Models.ColumnAxis Dim b As Boolean defAxis.SetPageBreak(10, True) b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.PageBreak) ListBox1.Items.Add(b.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8