2017-03-02 62 views
0

我使用下面的代碼在運行時添加的PPT文件幻燈片中,無法複製:#officewriter筆記部分,而應對幻燈片

Presentation pres = ppta.Open(@"C:\Users\prabhat.kumar.yadav\Desktop\PPT\ParentPlan.pptx"); 
DataPrepration dataObject = new DataPrepration();//Populating Data 
int noOfChildSlids = 19;//No of slide we need to add   
int sildeInsertPosition = 22;//position where we need to insert child slide 
int NoOfChilds = 2; 
for (int j = 0; j < NoOfChilds - 1; j++) 
{ 
    int sildeCopyPosition = 3;//POstion from where we need to start copy slide 
    for (int i = 0; i < noOfChildSlids; i++) 
    { 
     Slide slideToCopy = pres.Slides[sildeCopyPosition++]; 
     pres.Slides.CopySlide(slideToCopy, (sildeInsertPosition++)); 
    } 
} 

但部分沒有在運行添加幻燈片複製得到時間。

回答

0

SoftArtisan的PowerPointWriter中存在一個錯誤。這在PowerPointWriter的10.1.2.350版中得到修復。此修復程序可以在複製幻燈片時複製幻燈片的筆記。