Readout datagrid in PowerPoint 2010 and insert datas in new PowerPoint slide

Hi,

I have a performance problem with my application running on an active PowerPoint presentation (2010 version). There are data from a datagrid be read and be automatically entered to be created PowerPoint slide. Each entry of the DataGrid is written in a separate text box. It is this process takes a long time, you know a technology/solution that can make the program Performant. Program code is written in C#.

List<Microsoft.Office.Interop.PowerPoint.Shape> ResponsibleTxtbox= new List<Microsoft.Office.Interop.PowerPoint.Shape>(); ResponsibleTxtbox.Add(slide.Shapes.AddTextbox(MsoTextOrientation.msoTextOrientationHorizontal, posLeft, posTop, 0, 0)); ResponsibleTxtbox[j].TextFrame2.WordWrap = MsoTriState.msoFalse; ResponsibleTxtbox[j].TextFrame2.TextRange.Font.Size = mFontSize; ResponsibleTxtbox[j].TextFrame2.TextRange.Font.Name = mFontName; ResponsibleTxtbox[j].Tags.Add("TxtBoxType", "RespTxtBox" + j.ToString()); ResponsibleTxtbox[j].TextFrame2.TextRange.Text = responsiblesNames[j];

Alternative might OpenXml. Can I edit with OpenXml also open presentations? I have read it would not go. See for help

Greetings

June 19th, 2015 1:36pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics