PageSetupModel

PageSetupModel

Overview

PageSetupModel is a class in Aspose.Cells FOSS for Java.

Represents page setup model for an Excel worksheet.

Properties

NameTypeAccessDescription
marginsPageMarginsModelReadReturns the margins.
printOptionsPrintOptionsModelReadReturns the print options.
headerFooterHeaderFooterModelReadReturns the header footer.
paperSizeintReadReturns the paper size.
orientationPageOrientationReadReturns the orientation.
firstPageNumberIntegerReadReturns the first page number.
scaleIntegerReadReturns the scale.
fitToWidthIntegerReadReturns the fit to width.
fitToHeightIntegerReadReturns the fit to height.
printAreaStringReadReturns the print area.
printTitleRowsStringReadReturns the print title rows.
printTitleColumnsStringReadReturns the print title columns.
horizontalPageBreaksList<Integer>ReadReturns the horizontal page breaks.
verticalPageBreaksList<Integer>ReadReturns the vertical page breaks.

Methods

SignatureDescription
getMargins()PageMarginsModelReturns the margins.
getPrintOptions()PrintOptionsModelReturns the print options.
getHeaderFooter()HeaderFooterModelReturns the header footer.
getPaperSize()intReturns the paper size.
setPaperSize(paperSize: int)Sets the paper size.
getOrientation()PageOrientationReturns the orientation.
setOrientation(orientation: PageOrientation)Sets the orientation.
getFirstPageNumber()IntegerReturns the first page number.
setFirstPageNumber(firstPageNumber: Integer)Sets the first page number.
getScale()IntegerReturns the scale.
setScale(scale: Integer)Sets the scale.
getFitToWidth()IntegerReturns the fit to width.
setFitToWidth(fitToWidth: Integer)Sets the fit to width.
getFitToHeight()IntegerReturns the fit to height.
setFitToHeight(fitToHeight: Integer)Sets the fit to height.
getPrintArea()StringReturns the print area.
setPrintArea(printArea: String)Sets the print area.
getPrintTitleRows()StringReturns the print title rows.
setPrintTitleRows(printTitleRows: String)Sets the print title rows.
getPrintTitleColumns()StringReturns 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.