XlCellFormatting.Merge(XlCellFormatting, XlCellFormatting) Method
Combines formatting settings of the target and source instances of the XlCellFormatting class.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public static XlCellFormatting Merge(
XlCellFormatting target,
XlCellFormatting source
)
#Parameters
Name | Type | Description |
---|---|---|
target | Xl |
An Xl |
source | Xl |
An Xl |
#Returns
Type | Description |
---|---|
Xl |
An Xl |
#Remarks
If the target object is null, the Merge method creates a copy of the XlCellFormatting object specified by the source parameter. Otherwise, the Merge method merges the target object with the source object (so that all the properties of the target object will be replaced by the corresponding properties of the source object that are not null) and returns the modified target object.