Skip to main content

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

Declaration

public static XlCellFormatting Merge(
    XlCellFormatting target,
    XlCellFormatting source
)

Parameters

Name Type Description
target XlCellFormatting

An XlCellFormatting object that is the target object for merging.

source XlCellFormatting

An XlCellFormatting object that is the source object for merging.

Returns

Type Description
XlCellFormatting

An XlCellFormatting object that is a result of the merge operation.

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.

See Also