Last Updated: 02 Jun 2020 14:36 by ADMIN
Release LIB 2020.2.608 (06/08/2020)
Created on: 24 Apr 2020 10:54
Category: WordsProcessing
Type: Bug Report
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
Posted on: 02 Jun 2020 14:36


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.

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.