Click or drag to resize

ExcelPrintOptions Class

Stores print related options.
Inheritance Hierarchy
SystemObject
  SautinSoft.ExcelExcelPrintOptions

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public sealed class ExcelPrintOptions

The ExcelPrintOptions type exposes the following members.

Properties
 NameDescription
Public propertyAutomaticPageScaling Scaling factor for automatic page breaks.
Public propertyDraftTrue for printing in draft quality, false otherwise.
Public propertyFitToPageTrue for using FitWorksheetHeightToPages and FitWorksheetWidthToPages, false otherwise.
Public propertyFitWorksheetHeightToPages Fit worksheet height to this number of pages.
Public propertyFitWorksheetWidthToPages Fit worksheet width to this number of pages.
Public propertyHorizontalCenteredTrue for printing sheet horizontal centered, false otherwise.
Public propertyOrientationTrue for portrait orientation, false for landscape orientation.
Public propertyPaperSize Specific paper size / type.
Public propertyPrintBlackWhiteTrue for printing in black and white, false otherwise.
Public propertyPrintCellNotesTrue for printing cell notes, false otherwise.
Public propertyPrintGridLinesTrue for printing gridlines, false otherwise.
Public propertyPrintHeadingsTrue for print headings, false otherwise.
Public propertyPrintNotesSheetEndTrue for printing notes at end of sheet, false otherwise.
Public propertyPrintPagesInRowsTrue for printing pages in rows, false otherwise.
Public propertyPrintResolution Print resolution in dpi.
Public propertyStartPageNumber Start page number.
Public propertyVerticalCenteredTrue for printing sheet vertical centered, false otherwise.
Top
Methods
 NameDescription
Public methodEquals Determines whether the specified ExcelPrintOptions is equal to the current ExcelPrintOptions.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Returns the hash code of this object.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldMargins 
Top
See Also