PageSetupModel

PageSetupModel

Overview

PageSetupModel is a class in Aspose.Cells for NET.

PageSetupModel.Margins gets or sets the page margins.

Properties

NameTypeAccessDescription
MarginsPageMarginsModelReadProvides access to page margin settings
PrintOptionsPrintOptionsModelReadContains options controlling printing behavior
HeaderFooterHeaderFooterModelReadDefines header and footer content for printed pages
PaperSizeintRead/WriteGets or sets the paper size identifier
OrientationPageOrientationRead/WriteSpecifies portrait or landscape page orientation
FirstPageNumberint?Read/WriteSets the starting page number for printing
Scaleint?Read/WriteDefines the percentage scaling applied when printing
FitToWidthint?Read/WriteSets the number of pages wide the sheet should fit
FitToHeightint?Read/WriteSets the number of pages tall the sheet should fit
PrintAreastring?Read/WriteSpecifies the cell range to be printed
PrintTitleRowsstring?Read/WriteDefines rows repeated at top of each printed page
PrintTitleColumnsstring?Read/WriteDefines columns repeated at left of each printed page
HorizontalPageBreaksList<int>ReadGets the list of row indices for horizontal page breaks
VerticalPageBreaksList<int>ReadGets the list of column indices for vertical page breaks