...
Signature | ||||
---|---|---|---|---|
| ||||
Public Function GetColor(ByVal color As System.Drawing.Color) As 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. |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The desired color. |
Returns | ||||||||
---|---|---|---|---|---|---|---|---|
A
|
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. |
Example | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|