PageSetupModel

Vue de l’ensemble

‘PageSetupModel’ est une classe dans Aspose.Cells FOSS pour C++.

Il représente le modèle de page.

Cette classe fournit 35 méthodes pour travailler avec des objets PageSetupModel dans les programmes C++. Les méthodologies disponibles comprennent: ‘GetFirstPageNumber’, ‘D’GitFitToHeight’, D’GatHeaderFooter', ‘DGtHorizontalPagesBreaks’, ‘Margins’, ’D‘GotOrientation’, ‚D ́GutPaperSize’, ‘‘D’GentPrintArea’, ‘’D'D, ‘TitLinCollumns’, et 15 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de Aspose.COSS Fosses pour le package.

Méthodes accessorielles

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

méthodes

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.

Voir aussi

  • Aspose.Cells — référence API d’entreprise
 Français