Spread Windows Forms 6.0 Product Documentation
ShowPageSetup(SheetView,Boolean,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class > ShowPageSetup Method : ShowPageSetup(SheetView,Boolean,Boolean) Method


sheet
Sheet
showPrintButton
Whether to display the Print button
showPreviewButton
Whether to display the Print Preview button

Glossary Item Box

Shows the page setup dialog with the specified buttons for the specified sheet.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ShowPageSetup( _
   ByVal sheet As SheetView, _
   ByVal showPrintButton As Boolean, _
   ByVal showPreviewButton As Boolean _
) As DialogResult
Visual Basic (Usage)Copy Code
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)
C# 
public DialogResult ShowPageSetup( 
   SheetView sheet,
   bool showPrintButton,
   bool showPreviewButton
)

Parameters

sheet
Sheet
showPrintButton
Whether to display the Print button
showPreviewButton
Whether to display the Print Preview button

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.