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

FirmaDescrizione
GetPaperSize() → PaperSizeTypeOttiene o imposta la dimensione della carta.
SetPaperSize(value: PaperSizeType)Imposta il valore del formato della carta.
GetOrientation() → PageOrientationTypeOttiene 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::stringGets or sets the print area reference.
SetPrintArea(value: std::string_view)Sets the print area value.
GetPrintTitleRows() → std::stringGets or sets the repeating title rows reference.
SetPrintTitleRows(value: std::string_view)Sets the print title rows value.
GetPrintTitleColumns() → std::stringGets or sets the repeating title columns reference.
SetPrintTitleColumns(value: std::string_view)Sets the print title columns value.
GetLeftMargin() → doubleGets or sets the left margin in centimeters.
SetLeftMargin(value: double)Sets the left margin value.
GetRightMargin() → doubleGets or sets the right margin in centimeters.
SetRightMargin(value: double)Sets the right margin value.
GetTopMargin() → doubleGets or sets the top margin in centimeters.
SetTopMargin(value: double)Sets the top margin value.
GetBottomMargin() → doubleGets or sets the bottom margin in centimeters.
SetBottomMargin(value: double)Sets the bottom margin value.
GetHeaderMargin() → doubleGets or sets the header margin in centimeters.
SetHeaderMargin(value: double)Sets the header margin value.
GetFooterMargin() → doubleGets or sets the footer margin in centimeters.
SetFooterMargin(value: double)Sets the footer margin value.
GetLeftMarginInch() → doubleGets or sets the left margin in inches.
SetLeftMarginInch(value: double)Sets the left margin inch value.
GetRightMarginInch() → doubleGets or sets the right margin in inches.
SetRightMarginInch(value: double)Sets the right margin inch value.
GetTopMarginInch() → doubleGets or sets the top margin in inches.
SetTopMarginInch(value: double)Sets the top margin inch value.
GetBottomMarginInch() → doubleGets or sets the bottom margin in inches.
SetBottomMarginInch(value: double)Sets the bottom margin inch value.
GetHeaderMarginInch() → doubleGets or sets the header margin in inches.
SetHeaderMarginInch(value: double)Sets the header margin inch value.
GetFooterMarginInch() → doubleGets or sets the footer margin in inches.
SetFooterMarginInch(value: double)Sets the footer margin inch value.
GetLeftHeader() → std::stringGets or sets the left header text.
SetLeftHeader(value: std::string_view)Sets the left header value.
GetCenterHeader() → std::stringGets or sets the center header text.
SetCenterHeader(value: std::string_view)Sets the center header value.
GetRightHeader() → std::stringGets or sets the right header text.
SetRightHeader(value: std::string_view)Sets the right header value.
GetLeftFooter() → std::stringGets or sets the left footer text.
SetLeftFooter(value: std::string_view)Sets the left footer value.
GetCenterFooter() → std::stringGets or sets the center footer text.
SetCenterFooter(value: std::string_view)Sets the center footer value.
GetRightFooter() → std::stringGets or sets the right footer text.
SetRightFooter(value: std::string_view)Sets the right footer value.
GetPrintGridlines() → boolGets or sets whether gridlines are printed.
SetPrintGridlines(value: bool)Sets the print gridlines value.
GetPrintHeadings() → boolGets or sets whether row and column headings are printed.
SetPrintHeadings(value: bool)Sets the print headings value.
GetCenterHorizontally() → boolOttiene o imposta se il contenuto è centrato orizzontalmente nella pagina.
SetCenterHorizontally(value: bool)Sets the center horizontally value.
GetCenterVertically() → boolOttiene 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.

Vedi anche

 Italiano