简体   繁体   English

SharpPDF表格标题使用土耳其语字符错误

[英]sharpPDF Table Headers using Turkish character error

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. 当我不使用土耳其语Ch。时,它将运行。 however. 然而。

Is there a way to solve it? 有办法解决吗?

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 );

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM