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
| Name | Type | Access | Description |
|---|---|---|---|
PageMarginsModel | PageMarginsModel | Read | Gets the page margins model. |
PrintOptionsModel | PrintOptionsModel | Read | Gets the print options model. |
HeaderFooterModel | HeaderFooterModel | Read | Gets the header footer model. |
PageOrientation | PageOrientation | Read | Gets the page orientation. |
Methods
| Signature | Description |
|---|---|
PageMarginsModel() → PageMarginsModel | Performs page margins model. |
PageMarginsModel() → PageMarginsModel | Calls PageMarginsModel on this PageSetupModel instance. |
PrintOptionsModel() → PrintOptionsModel | Performs print options model. |
PrintOptionsModel() → PrintOptionsModel | Calls PrintOptionsModel on this PageSetupModel instance. |
HeaderFooterModel() → HeaderFooterModel | Performs header footer model. |
HeaderFooterModel() → HeaderFooterModel | Calls HeaderFooterModel on this PageSetupModel instance. |
PageOrientation() → PageOrientation | Gets or sets the orientation. |
GetMargins() → PageMarginsModel | Performs page margins model. |
GetMargins() → PageMarginsModel | Returns the margins. |
GetPrintOptions() → PrintOptionsModel | Performs print options model. |
GetPrintOptions() → PrintOptionsModel | Returns the print options. |
GetHeaderFooter() → HeaderFooterModel | Performs header footer model. |
GetHeaderFooter() → HeaderFooterModel | Returns the header footer. |
GetPaperSize() → int | Gets or sets the paper size. |
SetPaperSize(value: int) | Sets the paper size value. |
GetOrientation() → PageOrientation | Gets 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::string | Gets or sets the print area. |
SetPrintArea(value: std::string) | Sets the print area value. |
GetPrintTitleRows() → std::string | Gets or sets the print title rows. |
SetPrintTitleRows(value: std::string) | Sets the print title rows value. |
GetPrintTitleColumns() → std::string | Gets 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. |