ExcelWorksheetMergeOptionsFluent
OfficeIMO.Excel
The fluent methods of ExcelWorksheetMergeOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ExcelWorksheetMergeOptionsFluent
Methods
public static ExcelWorksheetMergeOptions BlankRowsBefore(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, int value) #Sets ExcelWorksheetMergeOptions.BlankRowsBefore: Blank rows to leave before appended data when ExcelWorksheetMergeOptions.TargetStartRow is omitted.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { BlankRowsBefore = value }; excelWorksheetMergeOptions.BlankRowsBefore(value);public static ExcelWorksheetMergeOptions IncludeSourceHeader(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, bool value = true) #Sets ExcelWorksheetMergeOptions.IncludeSourceHeader: Copies the source header row. By default, headers are skipped when appending source rows.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { IncludeSourceHeader = value }; excelWorksheetMergeOptions.IncludeSourceHeader(value);public static ExcelWorksheetMergeOptions MatchColumnsByHeader(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, bool value = true) #Sets ExcelWorksheetMergeOptions.MatchColumnsByHeader: Matches source columns to target columns by header text before copying values. Existing positional behavior is used when this is false.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { MatchColumnsByHeader = value }; excelWorksheetMergeOptions.MatchColumnsByHeader(value);public static ExcelWorksheetMergeOptions OverwriteExistingCells(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, bool value = true) #Sets ExcelWorksheetMergeOptions.OverwriteExistingCells: Allows merge/join operations to overwrite existing target cell contents. When false, merge/join operations throw if a non-empty source cell would replace an existing target cell.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { OverwriteExistingCells = value }; excelWorksheetMergeOptions.OverwriteExistingCells(value);public static ExcelWorksheetMergeOptions SourceHasHeader(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, bool value = true) #Sets ExcelWorksheetMergeOptions.SourceHasHeader: Indicates that the first source row is a header row.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { SourceHasHeader = value }; excelWorksheetMergeOptions.SourceHasHeader(value);public static ExcelWorksheetMergeOptions SourceRange(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, string? value) #Sets ExcelWorksheetMergeOptions.SourceRange: Source range to copy. When omitted, the source worksheet used range is copied.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { SourceRange = value }; excelWorksheetMergeOptions.SourceRange(value);public static ExcelWorksheetMergeOptions TargetHeaderRow(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, int? value) #Sets ExcelWorksheetMergeOptions.TargetHeaderRow: 1-based row containing target headers when ExcelWorksheetMergeOptions.MatchColumnsByHeader is true. When omitted, append operations use the first row of the target used range, and explicit target positions use the row immediately above ExcelWorksheetMergeOptions.TargetStartRow.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { TargetHeaderRow = value }; excelWorksheetMergeOptions.TargetHeaderRow(value);public static ExcelWorksheetMergeOptions TargetStartColumn(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, int? value) #Sets ExcelWorksheetMergeOptions.TargetStartColumn: 1-based target column. When omitted, the source range's starting column is used.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { TargetStartColumn = value }; excelWorksheetMergeOptions.TargetStartColumn(value);public static ExcelWorksheetMergeOptions TargetStartRow(ExcelWorksheetMergeOptions excelWorksheetMergeOptions, int? value) #Sets ExcelWorksheetMergeOptions.TargetStartRow: 1-based target row. When omitted, rows are appended after the target worksheet used range.
Parameters
- excelWorksheetMergeOptions OfficeIMO.Excel.ExcelWorksheetMergeOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetMergeOptions { TargetStartRow = value }; excelWorksheetMergeOptions.TargetStartRow(value);