ExcelWorksheetCopyOptionsFluent
OfficeIMO.Excel
The fluent methods of ExcelWorksheetCopyOptions, 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
- ExcelWorksheetCopyOptionsFluent
Methods
public static ExcelWorksheetCopyOptions CopyExternalWorkbookReferences(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, bool value = true) #Sets ExcelWorksheetCopyOptions.CopyExternalWorkbookReferences: Gets or sets whether package-mode copies may preserve external-workbook references. External links are rejected unless callers opt in explicitly.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { CopyExternalWorkbookReferences = value }; excelWorksheetCopyOptions.CopyExternalWorkbookReferences(value);public static ExcelWorksheetCopyOptions CopyMode(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, ExcelWorksheetCopyMode value) #Sets ExcelWorksheetCopyOptions.CopyMode: Gets or sets the copy strategy. Package copy preserves worksheet XML and avoids object materialization.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value OfficeIMO.Excel.ExcelWorksheetCopyMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { CopyMode = value }; excelWorksheetCopyOptions.CopyMode(value);public static ExcelWorksheetCopyOptions MaxDefinedNameCharacters(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, int value) #Sets ExcelWorksheetCopyOptions.MaxDefinedNameCharacters: Gets or sets the maximum aggregate formula characters across copied defined names.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { MaxDefinedNameCharacters = value }; excelWorksheetCopyOptions.MaxDefinedNameCharacters(value);public static ExcelWorksheetCopyOptions MaxDefinedNames(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, int value) #Sets ExcelWorksheetCopyOptions.MaxDefinedNames: Gets or sets the maximum number of referenced defined names copied in package mode.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { MaxDefinedNames = value }; excelWorksheetCopyOptions.MaxDefinedNames(value);public static ExcelWorksheetCopyOptions MaxInCellImageBytes(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, long value) #Sets ExcelWorksheetCopyOptions.MaxInCellImageBytes: Gets or sets the maximum payload size of one in-cell image copied in package mode.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { MaxInCellImageBytes = value }; excelWorksheetCopyOptions.MaxInCellImageBytes(value);public static ExcelWorksheetCopyOptions MaxInCellImages(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, int value) #Sets ExcelWorksheetCopyOptions.MaxInCellImages: Gets or sets the maximum number of in-cell image references copied in package mode.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { MaxInCellImages = value }; excelWorksheetCopyOptions.MaxInCellImages(value);public static ExcelWorksheetCopyOptions MaxTotalInCellImageBytes(ExcelWorksheetCopyOptions excelWorksheetCopyOptions, long value) #Sets ExcelWorksheetCopyOptions.MaxTotalInCellImageBytes: Gets or sets the maximum aggregate resolved in-cell image bytes copied in package mode. Shared image assets are charged once per referencing cell.
Parameters
- excelWorksheetCopyOptions OfficeIMO.Excel.ExcelWorksheetCopyOptions
- The instance.
- value long
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelWorksheetCopyOptions { MaxTotalInCellImageBytes = value }; excelWorksheetCopyOptions.MaxTotalInCellImageBytes(value);