PageSetup
PageSetup
Overzicht
PageSetup is een klasse in Aspose.Cells FOSS voor C++.
Stelt de afdruk- en paginalayoutinstellingen van het werkblad voor.
Deze klasse biedt 68 methoden voor het werken met PageSetup objecten in C++-programma’s. Beschikbare methoden omvatten: AddHorizontalPageBreak, AddVerticalPageBreak, ClearHorizontalPageBreaks, ClearVerticalPageBreaks, GetBottomMargin, GetBottomMarginInch, GetCenterFooter, GetCenterHeader, GetCenterHorizontally, GetCenterVertically, GetFirstPageNumber, GetFitToPagesTall, en 56 extra methoden. Alle publieke leden zijn toegankelijk voor elke C++-applicatie na het installeren van het Aspose.Cells FOSS voor C++-pakket.
Methoden
| Handtekening | Beschrijving |
|---|---|
GetPaperSize() → PaperSizeType | Haalt de papiergrootte op of stelt deze in. |
SetPaperSize(value: PaperSizeType) | Stelt de papierformaatwaarde in. |
GetOrientation() → PageOrientationType | Haalt of stelt de paginarichting in. |
SetOrientation(value: PageOrientationType) | Stelt de oriëntatiewaarde in. |
GetFirstPageNumber() → std::optional<int> | Haalt op of stelt het eerste afgedrukte paginanummer in. |
SetFirstPageNumber(value: std::optional<int>) | Stelt de eerste paginanummerwaarde in. |
GetScale() → std::optional<int> | Haalt het afdrukschalingspercentage op of stelt het in. |
SetScale(value: std::optional<int>) | Stelt de schaalwaarde in. |
GetFitToPagesWide() → std::optional<int> | Haalt op of stelt het aantal pagina’s breed in dat moet passen bij het afdrukken. |
SetFitToPagesWide(value: std::optional<int>) | Stelt de breedtewaarde voor passen op pagina’s in. |
GetFitToPagesTall() → std::optional<int> | Haalt op of stelt het aantal pagina’s in de hoogte in om bij het afdrukken te passen. |
SetFitToPagesTall(value: std::optional<int>) | Stelt de waarde voor fit to pages tall in. |
GetPrintArea() → std::string | Gets or sets the print area reference. |
SetPrintArea(value: std::string_view) | Sets the print area value. |
GetPrintTitleRows() → std::string | Gets or sets the repeating title rows reference. |
SetPrintTitleRows(value: std::string_view) | Sets the print title rows value. |
GetPrintTitleColumns() → std::string | Gets or sets the repeating title columns reference. |
SetPrintTitleColumns(value: std::string_view) | Sets the print title columns value. |
GetLeftMargin() → double | Gets or sets the left margin in centimeters. |
SetLeftMargin(value: double) | Sets the left margin value. |
GetRightMargin() → double | Gets or sets the right margin in centimeters. |
SetRightMargin(value: double) | Sets the right margin value. |
GetTopMargin() → double | Gets or sets the top margin in centimeters. |
SetTopMargin(value: double) | Sets the top margin value. |
GetBottomMargin() → double | Gets or sets the bottom margin in centimeters. |
SetBottomMargin(value: double) | Sets the bottom margin value. |
GetHeaderMargin() → double | Gets or sets the header margin in centimeters. |
SetHeaderMargin(value: double) | Sets the header margin value. |
GetFooterMargin() → double | Gets or sets the footer margin in centimeters. |
SetFooterMargin(value: double) | Sets the footer margin value. |
GetLeftMarginInch() → double | Gets or sets the left margin in inches. |
SetLeftMarginInch(value: double) | Sets the left margin inch value. |
GetRightMarginInch() → double | Gets or sets the right margin in inches. |
SetRightMarginInch(value: double) | Sets the right margin inch value. |
GetTopMarginInch() → double | Gets or sets the top margin in inches. |
SetTopMarginInch(value: double) | Sets the top margin inch value. |
GetBottomMarginInch() → double | Gets or sets the bottom margin in inches. |
SetBottomMarginInch(value: double) | Sets the bottom margin inch value. |
GetHeaderMarginInch() → double | Gets or sets the header margin in inches. |
SetHeaderMarginInch(value: double) | Sets the header margin inch value. |
GetFooterMarginInch() → double | Gets or sets the footer margin in inches. |
SetFooterMarginInch(value: double) | Sets the footer margin inch value. |
GetLeftHeader() → std::string | Gets or sets the left header text. |
SetLeftHeader(value: std::string_view) | Sets the left header value. |
GetCenterHeader() → std::string | Gets or sets the center header text. |
SetCenterHeader(value: std::string_view) | Sets the center header value. |
GetRightHeader() → std::string | Gets or sets the right header text. |
SetRightHeader(value: std::string_view) | Sets the right header value. |
GetLeftFooter() → std::string | Gets or sets the left footer text. |
SetLeftFooter(value: std::string_view) | Sets the left footer value. |
GetCenterFooter() → std::string | Gets or sets the center footer text. |
SetCenterFooter(value: std::string_view) | Sets the center footer value. |
GetRightFooter() → std::string | Gets or sets the right footer text. |
SetRightFooter(value: std::string_view) | Sets the right footer value. |
GetPrintGridlines() → bool | Gets or sets whether gridlines are printed. |
SetPrintGridlines(value: bool) | Sets the print gridlines value. |
GetPrintHeadings() → bool | Gets or sets whether row and column headings are printed. |
SetPrintHeadings(value: bool) | Sets the print headings value. |
GetCenterHorizontally() → bool | Geeft of stelt in of de inhoud horizontaal op de pagina is gecentreerd. |
SetCenterHorizontally(value: bool) | Sets the center horizontally value. |
GetCenterVertically() → bool | Geeft of stelt in of de inhoud verticaal op de pagina is gecentreerd. |
SetCenterVertically(value: bool) | Sets the center vertically value. |
GetHorizontalPageBreaks() → std::vector<int> | Haalt de horizontale pagina-einden op als gesorteerde nulgebaseerde rij-indexen. |
GetVerticalPageBreaks() → std::vector<int> | Haalt de verticale pagina-einden op als gesorteerde nulgebaseerde kolom-indexen. |
AddHorizontalPageBreak(rowIndex: int) | Voegt een horizontaal pagina-einde toe op de opgegeven nulgebaseerde rij-index. |
AddVerticalPageBreak(columnIndex: int) | Voegt een verticaal pagina-einde toe op de opgegeven nulgebaseerde kolom-index. |
ClearHorizontalPageBreaks() | Verwijdert alle horizontale pagina-einden. |
ClearVerticalPageBreaks() | Verwijdert alle verticale pagina-einden. |