IndexColorToXc12 uses DefaultIndexColorPalette

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
DrTob
Posts: 20
Joined: Tue Jul 19, 2011 2:31 pm

IndexColorToXc12 uses DefaultIndexColorPalette

Post by DrTob »

I tryed to set the FillPatternForeColor with an user defined indexed color. But I always got the wrong colors.

While debugging through the XLSRWII5-Code, I realized that IndexColorToXc12 uses the TXc12DefaultIndexColorPalette instead of the TXc12IndexColorPalette which contains my colors.

I bypass the problem by using FillPatternForeColorRGB, but I think this is a bug.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: IndexColorToXc12 uses DefaultIndexColorPalette

Post by larsa »

Hello

Thank you, will fix this in the next update.
Lars Arvidsson, Axolot Data
Post Reply