This project has moved and is read-only. For the latest updates, please go here.

DashPattern value is not valid.

Topics: SVG, SVG# and Parsing
Feb 19, 2014 at 12:25 PM

I am getting the "DashPattern value is not valid." error while converting svg to image.

SvgDocument svgDoc = SvgDocument.Open(openSvgFile.FileName);
            svgDoc.Transforms = new SvgTransformCollection();
            svgDoc.Transforms.Add(new SvgScale(2, 2));
            svgDoc.Width = new SvgUnit(svgDoc.Width.Type, svgDoc.Width * 2);
            svgDoc.Height = new SvgUnit(svgDoc.Height.Type, svgDoc.Height * 2);

            svgImage.Image = svgDoc.Draw();
Apr 21, 2014 at 10:43 AM
The information provided is not sufficient to understand the source of the problem.
Can you provide further information and/or a sample file?

Best regards,