PageSetupModel
Overview
PageSetupModel is a class in Aspose.Cells for NET.
PageSetupModel.Margins gets or sets the page margins.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Margins | PageMarginsModel | Read | Provides access to page margin settings |
PrintOptions | PrintOptionsModel | Read | Contains options controlling printing behavior |
HeaderFooter | HeaderFooterModel | Read | Defines header and footer content for printed pages |
PaperSize | int | Read/Write | Gets or sets the paper size identifier |
Orientation | PageOrientation | Read/Write | Specifies portrait or landscape page orientation |
FirstPageNumber | int? | Read/Write | Sets the starting page number for printing |
Scale | int? | Read/Write | Defines the percentage scaling applied when printing |
FitToWidth | int? | Read/Write | Sets the number of pages wide the sheet should fit |
FitToHeight | int? | Read/Write | Sets the number of pages tall the sheet should fit |
PrintArea | string? | Read/Write | Specifies the cell range to be printed |
PrintTitleRows | string? | Read/Write | Defines rows repeated at top of each printed page |
PrintTitleColumns | string? | Read/Write | Defines columns repeated at left of each printed page |
HorizontalPageBreaks | List<int> | Read | Gets the list of row indices for horizontal page breaks |
VerticalPageBreaks | List<int> | Read | Gets the list of column indices for vertical page breaks |