개정판 77cdac33
벽산 수정 후 백업
Change-Id: I8e3eb48f615478a49efa0ab4014a8ef17d273d0a
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
584 | 584 |
{ |
585 | 585 |
Directory.CreateDirectory(_FinalPDFStorgeLocal); |
586 | 586 |
} |
587 |
|
|
587 | 588 |
string pdfFilePath = Path.Combine(_FinalPDFStorgeLocal, tempFileInfo.Name); |
588 | 589 |
|
589 | 590 |
|
... | ... | |
637 | 638 |
|
638 | 639 |
using (PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileStream(pdfFilePath, FileMode.Create))) |
639 | 640 |
{ |
640 |
AcroFields pdfFormFields = pdfStamper.AcroFields; |
|
641 |
|
|
642 | 641 |
try |
643 | 642 |
{ |
644 |
if (pdfFormFields.GenerateAppearances != true)
|
|
643 |
if (pdfStamper.AcroFields != null && pdfStamper.AcroFields.GenerateAppearances != true)
|
|
645 | 644 |
{ |
646 |
pdfFormFields.GenerateAppearances = true;
|
|
645 |
pdfStamper.AcroFields.GenerateAppearances = true;
|
|
647 | 646 |
} |
648 | 647 |
} |
649 | 648 |
catch (Exception ex) |
내보내기 Unified diff