PageSetupModel
Overview
PageSetupModel is a class in Aspose.Cells FOSS for Java.
Represents page setup model for an Excel worksheet.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
margins | PageMarginsModel | Read | Returns the margins. |
printOptions | PrintOptionsModel | Read | Returns the print options. |
headerFooter | HeaderFooterModel | Read | Returns the header footer. |
paperSize | int | Read | Returns the paper size. |
orientation | PageOrientation | Read | Returns the orientation. |
firstPageNumber | Integer | Read | Returns the first page number. |
scale | Integer | Read | Returns the scale. |
fitToWidth | Integer | Read | Returns the fit to width. |
fitToHeight | Integer | Read | Returns the fit to height. |
printArea | String | Read | Returns the print area. |
printTitleRows | String | Read | Returns the print title rows. |
printTitleColumns | String | Read | Returns the print title columns. |
horizontalPageBreaks | List<Integer> | Read | Returns the horizontal page breaks. |
verticalPageBreaks | List<Integer> | Read | Returns the vertical page breaks. |
Methods
| Signature | Description |
|---|---|
getMargins() → PageMarginsModel | Returns the margins. |
getPrintOptions() → PrintOptionsModel | Returns the print options. |
getHeaderFooter() → HeaderFooterModel | Returns the header footer. |
getPaperSize() → int | Returns the paper size. |
setPaperSize(paperSize: int) | Sets the paper size. |
getOrientation() → PageOrientation | Returns the orientation. |
setOrientation(orientation: PageOrientation) | Sets the orientation. |
getFirstPageNumber() → Integer | Returns the first page number. |
setFirstPageNumber(firstPageNumber: Integer) | Sets the first page number. |
getScale() → Integer | Returns the scale. |
setScale(scale: Integer) | Sets the scale. |
getFitToWidth() → Integer | Returns the fit to width. |
setFitToWidth(fitToWidth: Integer) | Sets the fit to width. |
getFitToHeight() → Integer | Returns the fit to height. |
setFitToHeight(fitToHeight: Integer) | Sets the fit to height. |
getPrintArea() → String | Returns the print area. |
setPrintArea(printArea: String) | Sets the print area. |
getPrintTitleRows() → String | Returns the print title rows. |
setPrintTitleRows(printTitleRows: String) | Sets the print title rows. |
getPrintTitleColumns() → String | Returns the print title columns. |
setPrintTitleColumns(printTitleColumns: String) | Sets the print title columns. |
getHorizontalPageBreaks() → List<Integer> | Returns the horizontal page breaks. |
getVerticalPageBreaks() → List<Integer> | Returns the vertical page breaks. |