System.Collections.Generic.KeyNotFoundException
HResult=0x80131577
Message=The given key 'black' was not present in the dictionary.
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowKeyNotFoundException[T](T key)
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Syncfusion.OfficeChart.Implementation.ColorExtension.FromName(String name)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParsePresetColor(XmlReader reader, Int32& alpha, Excel2007Parser parser)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseSolidFill(XmlReader reader, Excel2007Parser parser, ChartColor color, Int32& Alpha)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseParagraphRunProperites(XmlReader reader, IInternalOfficeChartTextArea textArea, Excel2007Parser parser, TextSettings defaultSettings)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseParagraphRun(XmlReader reader, IInternalOfficeChartTextArea textArea, Excel2007Parser parser, TextSettings defaultSettings, List`1 tRuns)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseParagraphs(XmlReader reader, IInternalOfficeChartTextArea textArea, Excel2007Parser parser, Nullable`1 defaultFontSize, List`1 tRuns)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseRichText(XmlReader reader, IInternalOfficeChartTextArea textArea, Excel2007Parser parser, Nullable`1 defaultFontSize, List`1 tRuns)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseTextAreaText(XmlReader reader, IInternalOfficeChartTextArea textArea, Excel2007Parser parser, Nullable`1 defaultFontSize)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseTextAreaTag(XmlReader reader, IInternalOfficeChartTextArea textArea, RelationCollection relations, FileDataHolder holder, Nullable`1 defaultFontSize)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParserCommon.ParseTextArea(XmlReader reader, IInternalOfficeChartTextArea textArea, FileDataHolder holder, RelationCollection relations, Nullable`1 defaultFontSize)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartAxisParser.ParseAxisCommon(XmlReader reader, ChartAxisImpl axis, RelationCollection chartItemRelations, OfficeChartType chartType, Excel2007Parser parser, AxisTagsParser unknownTagParser)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartAxisParser.ParseCategoryAxis(XmlReader reader, ChartCategoryAxisImpl axis, RelationCollection relations, OfficeChartType chartType, Excel2007Parser parser)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParser.ParsePlotAreaAxes(XmlReader reader, ChartImpl chart, RelationCollection relations, Excel2007Parser parser)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParser.ParsePlotArea(XmlReader reader, ChartImpl chart, RelationCollection relations, Excel2007Parser parser)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParser.ParseChartElement(XmlReader reader, ChartImpl chart, RelationCollection relations)
at Syncfusion.OfficeChart.Implementation.XmlSerialization.Charts.ChartParser.ParseChart(XmlReader reader, ChartImpl chart, RelationCollection relations)
at Syncfusion.Presentation.FileDataHolder.ParseChartData(PresentationChart chart, String chartPath)
at Syncfusion.Presentation.FileDataHolder.ParseChart(PresentationChart chart)
at Syncfusion.Presentation.Parser.CheckGraphicData(Stream stream, Shapes shapeCollection)
at Syncfusion.Presentation.Parser.ParseShapeTree(XmlReader reader, Shapes shapeCollection)
at Syncfusion.Presentation.Parser.ParseCommonSilde(XmlReader reader, BaseSlide slide)
at Syncfusion.Presentation.Parser.ParseSlide(XmlReader reader, Slide slide)
at Syncfusion.Presentation.FileDataHolder.ParseSlide(Slide slide, String slidePath)
at Syncfusion.Presentation.FileDataHolder.ParseSlides()
at Syncfusion.Presentation.FileDataHolder.Read()
at Syncfusion.Presentation.FileDataHolder.ParseDocument()
at Syncfusion.Presentation.Presentation.ParseDocument(Stream fileStream)
at Syncfusion.Presentation.Presentation.OpenAsStream(Stream stream, String password, String extension)
at Syncfusion.Presentation.Presentation.Open(Stream fileStream)
at PptToImage.Program.Main(String[] args) in C:\PptToImage\Program.cs:line 30
Note : The slide that throws the error, contains various charts.
Can you please provide some information regarding the above issue.
Thanks!.