FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > ShowPageSetup Method : ShowPageSetup(SheetView,Boolean,Boolean) Method |
'Declaration Public Overloads Function ShowPageSetup( _ ByVal sheet As SheetView, _ ByVal showPrintButton As Boolean, _ ByVal showPreviewButton As Boolean _ ) As DialogResult
'Usage Dim instance As FpSpread Dim sheet As SheetView Dim showPrintButton As Boolean Dim showPreviewButton As Boolean Dim value As DialogResult value = instance.ShowPageSetup(sheet, showPrintButton, showPreviewButton)
public DialogResult ShowPageSetup( SheetView sheet, bool showPrintButton, bool showPreviewButton )
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView(); fpSpread1.Sheets.Add(sv); fpSpread1.ShowPageSetup(sv, true, true);
Dim sv As New FarPoint.Win.Spread.SheetView() FpSpread1.Sheets.Add(sv) FpSpread1.ShowPageSetup(sv, True, True)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10