Set Color

Applies the entered color value to the background of the desired cell on the entered sheet of the Excel file located at the given file path.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅Yes

Excel file path

Data

Byte[]

✅Yes

Excel file data (byte array)

SheetName

String

❌No

Target sheet name

Cell

String

✅Yes

Target cell address

NoFill

Boolean

❌No

Remove fill

BackgroundColor

String

❌No

Background color value


➡️OUTPUT

Parameter

Type

Description

IsSetColorSuccessful

Boolean

Whether the operation succeeded

SetColorMessage

String

Operation result message

SetColorResult

Byte[]

Updated Excel file


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error