sharpPDF Table Headers using Turkish character error

387 Views Asked by At

when I try to write headers, it gives me that error message:

{"StartIndex cannot be less than zero.\r\nParameter name: startIndex"}

I discovered that it is about Turkish Character in the headers of tables. It runs when I don't use Turkish Ch. however.

Is there a way to solve it?

1

There are 1 best solutions below

0
On

you can try to force your culture

// Changes the CurrentUICulture of the current thread to en-US for example. 
Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-US", false );