PageSetup
PageSetup
Panoramica
PageSetup è una classe in Aspose.Cells FOSS per C++.
Rappresenta le impostazioni di stampa del foglio di lavoro e di layout di pagina.
Questa classe fornisce 68 metodi per lavorare con oggetti PageSetup nei programmi C++. I metodi disponibili includono: AddHorizontalPageBreak, AddVerticalPageBreak, ClearHorizontalPageBreaks, ClearVerticalPageBreaks, GetBottomMargin, GetBottomMarginInch, GetCenterFooter, GetCenterHeader, GetCenterHorizontally, GetCenterVertically, GetFirstPageNumber, GetFitToPagesTall, e 56 metodi aggiuntivi. Tutti i membri pubblici sono accessibili a qualsiasi applicazione C++ dopo aver installato il pacchetto Aspose.Cells FOSS per C++.
Metodi
| Firma | Descrizione |
|---|---|
GetPaperSize() → PaperSizeType | Ottiene o imposta la dimensione della carta. |
SetPaperSize(value: PaperSizeType) | Imposta il valore del formato della carta. |
GetOrientation() → PageOrientationType | Ottiene o imposta l’orientamento della pagina. |
SetOrientation(value: PageOrientationType) | Imposta il valore dell’orientamento. |
GetFirstPageNumber() → std::optional<int> | Ottiene o imposta il numero della prima pagina stampata. |
SetFirstPageNumber(value: std::optional<int>) | Imposta il valore del numero della prima pagina. |
GetScale() → std::optional<int> | Ottiene o imposta la percentuale di ridimensionamento della stampa. |
SetScale(value: std::optional<int>) | Imposta il valore della scala. |
GetFitToPagesWide() → std::optional<int> | Ottiene o imposta il numero di pagine in larghezza da adattare durante la stampa. |
SetFitToPagesWide(value: std::optional<int>) | Imposta il valore di adattamento a pagine larghe. |
GetFitToPagesTall() → std::optional<int> | Gets or sets the number of pages tall to fit when printing. |
SetFitToPagesTall(value: std::optional<int>) | Sets the fit to pages tall value. |
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 | Ottiene o imposta se il contenuto è centrato orizzontalmente nella pagina. |
SetCenterHorizontally(value: bool) | Sets the center horizontally value. |
GetCenterVertically() → bool | Ottiene o imposta se il contenuto è centrato verticalmente nella pagina. |
SetCenterVertically(value: bool) | Sets the center vertically value. |
GetHorizontalPageBreaks() → std::vector<int> | Ottiene le interruzioni di pagina orizzontali come indici di riga ordinati a base zero. |
GetVerticalPageBreaks() → std::vector<int> | Ottiene le interruzioni di pagina verticali come indici di colonna ordinati a base zero. |
AddHorizontalPageBreak(rowIndex: int) | Aggiunge un’interruzione di pagina orizzontale all’indice di riga specificato a base zero. |
AddVerticalPageBreak(columnIndex: int) | Aggiunge un’interruzione di pagina verticale all’indice di colonna specificato a base zero. |
ClearHorizontalPageBreaks() | Rimuove tutte le interruzioni di pagina orizzontali. |
ClearVerticalPageBreaks() | Rimuove tutte le interruzioni di pagina verticali. |