Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Returns a Color representing the specified color, and throws an exception if the file does not support the specified color.

C#
vb.net

Parameters

color
The desired color.

Returns

A Color object in the palette that matches the specified color.

Remarks

For .xls files, an exception will be thrown if the color is not in the palette. For .xlsx files, a Color will always be returned.

Examples

C#
vb.net
  • No labels