SVN r1042
SVN-Revision: r1042
This commit is contained in:
@@ -46,7 +46,9 @@ namespace Lskj.AutoCreatWord
|
|||||||
saveDocument.SaveToFile(savePath, FileFormat.Doc);
|
saveDocument.SaveToFile(savePath, FileFormat.Doc);
|
||||||
if (createPdf)
|
if (createPdf)
|
||||||
{
|
{
|
||||||
saveDocument.SaveToFile(fileName, FileFormat.PDF);
|
Document savePDFDoc = new Document();
|
||||||
|
savePDFDoc.LoadFromFile(savePath);
|
||||||
|
savePDFDoc.SaveToFile(fileName, FileFormat.PDF);
|
||||||
}
|
}
|
||||||
result = true;
|
result = true;
|
||||||
saveDocument.Close();
|
saveDocument.Close();
|
||||||
|
|||||||
Reference in New Issue
Block a user