Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

LegacyXlsPageSetup

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Source revision 02c4d39034ec with working tree changes
Modifiers sealed

Represents worksheet page setup metadata parsed from legacy XLS print records.

Inheritance

  • Object
  • LegacyXlsPageSetup

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.

Returned or exposed by 1

Constructors

public LegacyXlsPageSetup() #

Properties

public Double? LeftMargin { get; internal set; } #

Gets the left margin in inches, when present.

public Double? RightMargin { get; internal set; } #

Gets the right margin in inches, when present.

public Double? TopMargin { get; internal set; } #

Gets the top margin in inches, when present.

public Double? BottomMargin { get; internal set; } #

Gets the bottom margin in inches, when present.

public Double? HeaderMargin { get; internal set; } #

Gets the header margin in inches, when present.

public Double? FooterMargin { get; internal set; } #

Gets the footer margin in inches, when present.

public String? HeaderText { get; internal set; } #

Gets the raw Excel header/footer control string for the worksheet header, when present.

public String? FooterText { get; internal set; } #

Gets the raw Excel header/footer control string for the worksheet footer, when present.

public String? FirstHeaderText { get; internal set; } #

Gets the raw Excel header/footer control string for the first-page header, when present.

public String? FirstFooterText { get; internal set; } #

Gets the raw Excel header/footer control string for the first-page footer, when present.

public String? EvenHeaderText { get; internal set; } #

Gets the raw Excel header/footer control string for even-page headers, when present.

public String? EvenFooterText { get; internal set; } #

Gets the raw Excel header/footer control string for even-page footers, when present.

public Boolean? DifferentOddEvenHeaderFooter { get; internal set; } #

Gets whether odd and even pages use different headers and footers, when present.

public Boolean? DifferentFirstHeaderFooter { get; internal set; } #

Gets whether the first page uses different headers and footers, when present.

public Boolean? ScaleHeaderFooterWithDocument { get; internal set; } #

Gets whether headers and footers scale with the document, when present.

public Boolean? AlignHeaderFooterWithMargins { get; internal set; } #

Gets whether headers and footers align with page margins, when present.

public Boolean? PrintGridLines { get; internal set; } #

Gets whether worksheet gridlines should print, when present.

public Boolean? PrintHeadings { get; internal set; } #

Gets whether row and column headings should print, when present.

public Boolean? HorizontalCentered { get; internal set; } #

Gets whether the sheet should be centered horizontally when printed, when present.

public Boolean? VerticalCentered { get; internal set; } #

Gets whether the sheet should be centered vertically when printed, when present.

public Boolean? FitToPage { get; internal set; } #

Gets whether fit-to-page scaling should be enabled, when present.

public Boolean? Landscape { get; internal set; } #

Gets whether the sheet should be printed in landscape orientation, when present.

public UInt16? Scale { get; internal set; } #

Gets the print scale percentage, when present.

public UInt16? FitToWidth { get; internal set; } #

Gets the number of pages to fit horizontally, when present.

public UInt16? FitToHeight { get; internal set; } #

Gets the number of pages to fit vertically, when present.

public ExcelPageOrder? PageOrder { get; internal set; } #

Gets the worksheet page order for multi-page printing, when present.

public UInt16? PrintedSize { get; internal set; } #

Gets the worksheet printed-size mode, when specified by a PrintSize record.