ExcelWorkbookMergeOptionsFluent
OfficeIMO.Excel
The fluent methods of ExcelWorkbookMergeOptions, 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
- ExcelWorkbookMergeOptionsFluent
Methods
public static ExcelWorkbookMergeOptions CopyExternalWorkbookReferences(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, bool value = true) #Sets ExcelWorkbookMergeOptions.CopyExternalWorkbookReferences: Gets or sets whether package-mode imports may preserve external-workbook references. External links are rejected unless callers opt in explicitly.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { CopyExternalWorkbookReferences = value }; excelWorkbookMergeOptions.CopyExternalWorkbookReferences(value);public static ExcelWorkbookMergeOptions CopyMode(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, ExcelWorksheetCopyMode value) #Sets ExcelWorkbookMergeOptions.CopyMode: Gets or sets the worksheet copy strategy used for imported sheets.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value OfficeIMO.Excel.ExcelWorksheetCopyMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { CopyMode = value }; excelWorkbookMergeOptions.CopyMode(value);public static ExcelWorkbookMergeOptions MaxDefinedNameCharacters(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, int value) #Sets ExcelWorkbookMergeOptions.MaxDefinedNameCharacters: Gets or sets the maximum aggregate formula characters across copied defined names.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { MaxDefinedNameCharacters = value }; excelWorkbookMergeOptions.MaxDefinedNameCharacters(value);public static ExcelWorkbookMergeOptions MaxDefinedNames(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, int value) #Sets ExcelWorkbookMergeOptions.MaxDefinedNames: Gets or sets the maximum number of referenced defined names copied in package mode.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { MaxDefinedNames = value }; excelWorkbookMergeOptions.MaxDefinedNames(value);public static ExcelWorkbookMergeOptions MaxInCellImageBytes(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, long value) #Sets ExcelWorkbookMergeOptions.MaxInCellImageBytes: Gets or sets the maximum payload size of one in-cell image copied in package mode.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { MaxInCellImageBytes = value }; excelWorkbookMergeOptions.MaxInCellImageBytes(value);public static ExcelWorkbookMergeOptions MaxInCellImages(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, int value) #Sets ExcelWorkbookMergeOptions.MaxInCellImages: Gets or sets the maximum number of in-cell image references copied across package-mode imports.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { MaxInCellImages = value }; excelWorkbookMergeOptions.MaxInCellImages(value);public static ExcelWorkbookMergeOptions MaxTotalInCellImageBytes(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, long value) #Sets ExcelWorkbookMergeOptions.MaxTotalInCellImageBytes: Gets or sets the maximum aggregate resolved in-cell image bytes copied across package-mode imports. Shared image assets are charged once per referencing cell.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { MaxTotalInCellImageBytes = value }; excelWorkbookMergeOptions.MaxTotalInCellImageBytes(value);public static ExcelWorkbookMergeOptions SheetNamePrefix(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, string? value) #Sets ExcelWorkbookMergeOptions.SheetNamePrefix: Gets or sets an optional prefix added to every imported worksheet name.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { SheetNamePrefix = value }; excelWorkbookMergeOptions.SheetNamePrefix(value);public static ExcelWorkbookMergeOptions SheetNames(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, IReadOnlyList<string>? value) #Sets ExcelWorkbookMergeOptions.SheetNames: Gets or sets source worksheet names to import. When empty, all source worksheets are imported.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value System.Collections.Generic.IReadOnlyList<string>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { SheetNames = value }; excelWorkbookMergeOptions.SheetNames(value);public static ExcelWorkbookMergeOptions SheetNameValidationMode(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, ExcelSheetNameValidationMode value) #Sets ExcelWorkbookMergeOptions.SheetNameValidationMode: Gets or sets sheet name validation behavior for imported worksheets.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value OfficeIMO.Excel.ExcelSheetNameValidationMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { SheetNameValidationMode = value }; excelWorkbookMergeOptions.SheetNameValidationMode(value);public static ExcelWorkbookMergeOptions TargetSheetNames(ExcelWorkbookMergeOptions excelWorkbookMergeOptions, IReadOnlyDictionary<string, string>? value) #Sets ExcelWorkbookMergeOptions.TargetSheetNames: Gets or sets explicit target worksheet names keyed by source worksheet name. Keys match source worksheet names case-insensitively and must name imported worksheets. A worksheet with an entry takes that name as given, without ExcelWorkbookMergeOptions.SheetNamePrefix; a worksheet without one keeps the prefixed source name. Names are validated with ExcelWorkbookMergeOptions.SheetNameValidationMode. When this map is nonempty and ExcelSheetNameValidationMode.Strict is selected, every requested name is checked before any worksheet is imported. References between imported worksheets map each source name directly to its target name, so a target name may reuse the name of another source worksheet.
Parameters
- excelWorkbookMergeOptions OfficeIMO.Excel.ExcelWorkbookMergeOptions
- The instance.
- value System.Collections.Generic.IReadOnlyDictionary<string, string>?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorkbookMergeOptions { TargetSheetNames = value }; excelWorkbookMergeOptions.TargetSheetNames(value);