【问题标题】:sharpPDF Table Headers using Turkish character error使用土耳其语字符错误的 sharpPDF 表头
【发布时间】:2012-07-04 22:39:23
【问题描述】:

当我尝试编写标题时,它给了我错误消息:

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

我发现它与表格标题中的土耳其字符有关。它在我不使用土耳其语时运行。但是。

有办法解决吗?

【问题讨论】:

    标签: c# turkish sharppdf


    【解决方案1】:

    你可以尝试强迫你的文化

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

    【讨论】:

      猜你喜欢
      • 2014-08-09
      • 2015-01-07
      • 2014-07-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-03
      • 1970-01-01
      • 2021-07-21
      相关资源
      最近更新 更多