none
Problem with Save As MSAGL RRS feed

  • Question

  • Hi,

     

    when you save a graph to MSAGL file, the label width and height are written in the current language specific style.

    I.e. <Label>
            <Text>TestNode</Text>
            <FontName>Verdana</FontName>
            <FontColor>
              <Color>
                <A>255</A>
                <R>0</R>
                <G>0</G>
                <B>0</B>
              </Color>
            </FontColor>
            <FontSize>12</FontSize>
            <Width>112,1796875</Width>
            <Height>19,4453125</Height>
          </Label>

     

    In this case the decimal sign is "," not ".".

    When you load this file, the program crashes with a convert error (cannot convert to Double).

    Stacktrace:

       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
       at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
       at System.Xml.XmlConvert.ToDouble(String s)
       at System.Xml.XmlReader.ReadContentAsDouble()

     

    Thanks

    Jaspis

    Monday, September 1, 2008 1:35 PM

Answers

  • Hi Jaspis,

    The sources were pulled off temporarily until we put the license agreement together with it. Sorry for inconvenience.

    Lev

    Thursday, September 4, 2008 5:41 PM

All replies