XlCellFormatting.MergeWith(XlCellFormatting) Method
Combines the format settings of the specified XlCellFormatting object with the current instance of the XlCellFormatting class.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
other | XlCellFormatting | An XlCellFormatting object that specifies the object to combine with the current XlCellFormatting instance. |
Remarks
Use the MergeWith method to combine the properties of the specified XlCellFormatting object with the instance of the XlCellFormatting class that this method is called from.
All properties of the current instance of the XlCellFormatting class will be replaced by the corresponding non-blank properties of the XlCellFormatting object specified by the other parameter. To completely replace the format settings in the current XlCellFormatting object with the format settings in the other, use the XlCellFormatting.CopyFrom method.