Completed
Last Updated: 02 Jun 2020 14:36 by ADMIN
Release LIB 2020.2.608 (06/08/2020)
Bernd
Created on: 24 Apr 2020 10:54
Category: WordsProcessing
Type: Bug Report
2
WordsProcessing: DocxFormatProvider: Image size values are exported with wrong decimal symbol in specific culture settings
The decimal values are exported using the symbol defined in the thread culture. However, they should always use the period as a decimal symbol. The wrong value can lead to wrong resizing of the image inside the exported document.

Workaround: Change the current culture settings of the thread before exporting:
string cultureName = Thread.CurrentThread.CurrentCulture.Name;
CultureInfo cultureInfo= new CultureInfo(cultureName);
if (cultureInfo.NumberFormat.NumberDecimalSeparator != ".")
{
    cultureInfo.NumberFormat.NumberDecimalSeparator = ".";
    Thread.CurrentThread.CurrentCulture = cultureInfo;
}

1 comment
ADMIN
Peshito
Posted on: 02 Jun 2020 14:36

Hello,

This item will be available in R2 2020 SP1 Release. 

It is also available with Telerik UI for WPF's latest internal build - LIB 2020.2.608 (06/08/2020) if you need it earlier.

Regards,
Peshito
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.