PageSetupModel

PageSetupModel

Overview

PageSetupModel is a class in Aspose.Cells FOSS for C++.

Represents page setup model.

This class provides 35 methods for working with PageSetupModel objects in C++ programs. Available methods include: GetFirstPageNumber, GetFitToHeight, GetFitToWidth, GetHeaderFooter, GetHorizontalPageBreaks, GetMargins, GetOrientation, GetPaperSize, GetPrintArea, GetPrintOptions, GetPrintTitleColumns, GetPrintTitleRows, and 15 additional methods. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package. Accessor methods: HeaderFooterModel, PageMarginsModel, PageOrientation, PrintOptionsModel.

Accessor Methods

NameTypeAccessDescription
PageMarginsModelPageMarginsModelReadGets the page margins model.
PrintOptionsModelPrintOptionsModelReadGets the print options model.
HeaderFooterModelHeaderFooterModelReadGets the header footer model.
PageOrientationPageOrientationReadGets the page orientation.

Methods

SignatureDescription
PageMarginsModel()PageMarginsModelPerforms page margins model.
PageMarginsModel()PageMarginsModelCalls PageMarginsModel on this PageSetupModel instance.
PrintOptionsModel()PrintOptionsModelPerforms print options model.
PrintOptionsModel()PrintOptionsModelCalls PrintOptionsModel on this PageSetupModel instance.
HeaderFooterModel()HeaderFooterModelPerforms header footer model.
HeaderFooterModel()HeaderFooterModelCalls HeaderFooterModel on this PageSetupModel instance.
PageOrientation()PageOrientationGets or sets the orientation.
GetMargins()PageMarginsModelPerforms page margins model.
GetMargins()PageMarginsModelReturns the margins.
GetPrintOptions()PrintOptionsModelPerforms print options model.
GetPrintOptions()PrintOptionsModelReturns the print options.
GetHeaderFooter()HeaderFooterModelPerforms header footer model.
GetHeaderFooter()HeaderFooterModelReturns the header footer.
GetPaperSize()intGets or sets the paper size.
SetPaperSize(value: int)Sets the paper size value.
GetOrientation()PageOrientationGets or sets the orientation.
SetOrientation(value: PageOrientation)Sets the orientation value.
GetFirstPageNumber()std::optional<int>Gets or sets the first page number.
SetFirstPageNumber(value: std::optional<int>)Sets the first page number value.
GetScale()std::optional<int>Gets or sets the scale.
SetScale(value: std::optional<int>)Sets the scale value.
GetFitToWidth()std::optional<int>Gets or sets the fit to width.
SetFitToWidth(value: std::optional<int>)Sets the fit to width value.
GetFitToHeight()std::optional<int>Gets or sets the fit to height.
SetFitToHeight(value: std::optional<int>)Sets the fit to height value.
GetPrintArea()std::stringGets or sets the print area.
SetPrintArea(value: std::string)Sets the print area value.
GetPrintTitleRows()std::stringGets or sets the print title rows.
SetPrintTitleRows(value: std::string)Sets the print title rows value.
GetPrintTitleColumns()std::stringGets or sets the print title columns.
SetPrintTitleColumns(value: std::string)Sets the print title columns value.
GetHorizontalPageBreaks()std::vector<int>Gets the horizontal page breaks.
GetHorizontalPageBreaks()std::vector<int>Returns the horizontal page breaks.
GetVerticalPageBreaks()std::vector<int>Gets the vertical page breaks.
GetVerticalPageBreaks()std::vector<int>Returns the vertical page breaks.

See Also

 English