Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPrintLayoutOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Options for applying a worksheet print layout preset. Nullable values override the selected preset only when provided.

Inheritance

  • object
  • ExcelPrintLayoutOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public ExcelPrintLayoutOptions() #

Properties

public ExcelPrintLayoutPreset Preset { get; set; } #

Preset to apply.

public string? PrintArea { get; set; } #

Optional print area in A1 notation.

public OfficePageOrientation? Orientation { get; set; } #

Optional orientation override.

public ExcelMarginPreset? Margins { get; set; } #

Optional margin preset override.

public uint? FitToWidth { get; set; } #

Optional pages-wide fit override.

public uint? FitToHeight { get; set; } #

Optional pages-tall fit override. Use 0 for unlimited height.

public uint? Scale { get; set; } #

Optional manual scale percentage override.

public ExcelPageOrder? PageOrder { get; set; } #

Optional page order override.

public ExcelPaperSize? PaperSize { get; set; } #

Optional paper size override.

public int? RepeatFirstRow { get; set; } #

Optional first repeated print-title row.

public int? RepeatLastRow { get; set; } #

Optional last repeated print-title row.

public int? RepeatFirstColumn { get; set; } #

Optional first repeated print-title column.

public int? RepeatLastColumn { get; set; } #

Optional last repeated print-title column.

public bool SuppressPresetPrintTitles { get; set; } #

When true, preset default print-title rows are not applied.