Current filter:
                                You should refresh the page.
                                  • Hello,
                                    when loading the attached SVG file, for example into an TcxImageList, an error occurs:

                                    Invalid operation in GDI+ (Code 3)

                                    Please see attached SVG

                                • Paulo (DevExpress Support) 02.07.2019

                                  Thank you for sharing your SVG file. I have reproduced this error and forwarded this ticket to our developers for research.

                                • Thomas Degen 02.10.2019

                                  i actually found more trouble with SVG's. I was wondering why the menu opens up so slowly.
                                  Now. by using the debug mode, i saw that when I opened a menu for the first time, lots of exceptions are raised:
                                  The exception happens in "dxSVGCoreParsers":

                                   procedure TryAddValue(ATarget: TdxSVGValues; AStartIndex, AIndex: Integer);
                                    begin
                                      if AIndex > AStartIndex then
                                      try
                                        ATarget.Add(dxStrToFloat(Trim(Copy(S, AStartIndex, AIndex - AStartIndex))));
                                      except
                                        // do nothing
                                      end;
                                    end;

                                  And it says: "EConvertError "e" is not a valid floating point value"

                                  In the Call stack I see this:

                                  dxSVGCoreParsers.TryAddValue($1C27B1A0,4,5)
                                  dxSVGCoreParsers.TdxSVGParserNumbers.AsNumbers('none')
                                  dxSVGCore.TdxSVGAdapterNumbersValue.Load($1F1981D8,$1F309CE0,'none')
                                  dxSVGCore.TdxSVGLoader.ApplyAttribute($1F1981D8,$2D1994B0,$209D07C0)
                                  dxSVGCore.TdxSVGLoader.ApplyAttributes($1F1981D8,$209D00E0)
                                  dxSVGCore.TdxSVGStyle.Apply($1F1981D8)
                                  dxSVGCore.TdxSVGStyles.Apply($1F1981D8)
                                  dxSVGCore.TdxSVGStyles.Apply($2B2AFD18)
                                  dxSVGCore.TdxSVGStyles.Apply($2CCEACA0)
                                  dxSVGCore.TdxSVGLoader.Load($2CCEACA0,$1C17E320)
                                  dxSVGImage.TdxSVGImageCodec.GetSize($31728FA0,(6427989, 633811616))
                                  dxSmartImage.TdxSmartImageCodecsRepository.GetImageInfo($31728FA0,(6427989, 633811616),TdxSmartImageCodecClass($1C207854))
                                  dxSmartImage.TdxSmartImageCodecsRepository.GetImageInfo($31671EF8,(6427989, 633811616),TdxSmartImageCodecClass($1C207854))
                                  dxSmartImage.TdxCustomSmartImage.GetSize
                                  dxSmartImage.TdxCustomSmartImage.GetWidth
                                  cxGraphics.cxGetImageClientRect($3168F0B0)
                                  cxGraphics.cxStretchGraphic($25C30F80,$3168F0B0,True,TdxSkinGeneralColorPalette($1AEC94C4) as IdxColorPalette)
                                  cxImageList.GetBitmap($25C30F80,$3168F0B0,True)
                                  cxImageList.TcxCustomImageList.GetImageInfoCore(171,$25C30F80,nil,TdxSkinGeneralColorPalette($1AEC94C4) as IdxColorPalette,bDefault)
                                  cxImageList.TcxCustomImageList.GetImageInfoCore($2F2E5AF0,171,$25C30F80,nil,TdxSkinGeneralColorPalette($1AEC94C4) as IdxColorPalette,bDefault)
                                  cxGraphics.MakeImage($25C30F80,False)
                                  ......

                                  With all exceptions I see this "TdxSVGParserNumbers.AsNumbers('none')"
                                  And indeed, "none" isn't a number.

                                  Can I do something to the SVG files to prevent all these exceptions ?

                                • Paulo (DevExpress Support) 02.10.2019

                                  Hello Thomas,

                                  I've created a separate ticket on your behalf (T714454). It has been placed in our processing queue and will be answered shortly.

                                1 Solution

                                Creation Date Importance Sort by