Enum
ExcelMarginPreset
OfficeIMO.Excel
Common presets for page margins.
Inheritance
- Enum
- ExcelMarginPreset
Usage
Explore 7 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 5
- Field ExcelMarginPreset.Moderate
- Field ExcelMarginPreset.Narrow
- Field ExcelMarginPreset.Normal
- Field ExcelMarginPreset.Wide
- Property ExcelPrintLayoutOptions.Margins
Accepted by parameters 2
- Method ExcelReportBuilder.Margins
- Method ExcelSheetPageSetup.SetMargins
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const ExcelMarginPreset Normal #Standard margins: left/right 0.7 inch, top/bottom 0.75 inch, header/footer 0.3 inch.
Value:
0public const ExcelMarginPreset Narrow #Narrow margins: left/right 0.25 inch, top/bottom 0.5 inch, header/footer 0.3 inch.
Value:
1public const ExcelMarginPreset Moderate #Moderate margins: left/right 0.75 inch, top/bottom 1.0 inch, header/footer 0.5 inch.
Value:
2public const ExcelMarginPreset Wide #Wide margins: left/right 1.0 inch, top/bottom 1.0 inch, header/footer 0.5 inch.
Value:
3