ActiveReports 6 Online Help
PageSetup Class
Members  Example 

Represents page setup information for a worksheet such as margins, paper size, etc.
Object Model
PageSetup Class
Syntax
'Declaration
 
Public Class PageSetup 
public class PageSetup 
Example
sb.Sheets(0).PageSetup.BlackAndWhite = true;
sb.Sheets(0).PageSetup.BottomMargin = 144;
sb.Sheets(0).PageSetup.Draft = true;
sb.Sheets(0).PageSetup.FirstPageNumber = 100;
sb.Sheets(0).PageSetup.FooterMargin = 72;
sb.Sheets(0).PageSetup.HeaderMargin = 72;
sb.Sheets(0).PageSetup.LeftMargin = 108;
sb.Sheets(0).PageSetup.Order = DataDynamics.SpreadBuilder.Printing.PagePrintOrder.OverThenDown;
sb.Sheets(0).PageSetup.Orientation = DataDynamics.SpreadBuilder.Printing.PagePrintOrientation.Landscape;
sb.Sheets(0).PageSetup.PaperSize = Printing.PaperKind.A4;
sb.Sheets(0).PageSetup.PrintNotes = true;
sb.Sheets(0).PageSetup.RightMargin = 108;
sb.Sheets(0).PageSetup.TopMargin = 144;
sb.Sheets(0).PageSetup.Zoom = 200;
Inheritance Hierarchy

System.Object
   DataDynamics.SpreadBuilder.Printing.PageSetup

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

Reference

PageSetup Members
DataDynamics.SpreadBuilder.Printing Namespace

Send Feedback