개정판 50df80f6
build issue #569 : edit
DTI_PID/PDF_TO_IMAGE/ConvertImage.cs | ||
---|---|---|
94 | 94 |
PdfDocumentProcessor pdp = new PdfDocumentProcessor(); |
95 | 95 |
pdp.LoadDocument(sFilePath); |
96 | 96 |
|
97 |
splashScreenManager.ShowWaitForm(); |
|
98 |
splashScreenManager.SetWaitFormCaption("Convert Pdf File to Image Files"); |
|
97 |
splashScreenManager1.ShowWaitForm();
|
|
98 |
splashScreenManager1.SetWaitFormCaption("Convert Pdf File to Image Files");
|
|
99 | 99 |
try |
100 | 100 |
{ |
101 | 101 |
int iPage = pdp.Document.Pages.Count; |
... | ... | |
103 | 103 |
for (int i = 0; i < pdp.Document.Pages.Count; i++) |
104 | 104 |
{ |
105 | 105 |
int iPercent = i * 100 / iPage; |
106 |
splashScreenManager.SetWaitFormDescription(i + " / " + sPage + " Pages ( " + iPercent + "% )"); |
|
106 |
splashScreenManager1.SetWaitFormDescription(i + " / " + sPage + " Pages ( " + iPercent + "% )");
|
|
107 | 107 |
PdfPage page = pdp.Document.Pages[i]; |
108 | 108 |
|
109 | 109 |
double dWidth = page.CropBox.Width; |
... | ... | |
138 | 138 |
} |
139 | 139 |
|
140 | 140 |
iPercent = (i + 1) * 100 / iPage; |
141 |
splashScreenManager.SetWaitFormDescription((i + 1) + " / " + sPage + " Pages ( " + iPercent + "% )"); |
|
141 |
splashScreenManager1.SetWaitFormDescription((i + 1) + " / " + sPage + " Pages ( " + iPercent + "% )");
|
|
142 | 142 |
} |
143 | 143 |
|
144 | 144 |
MessageBox.Show("변환완료"); |
... | ... | |
149 | 149 |
} |
150 | 150 |
|
151 | 151 |
pdp.CloseDocument(); |
152 |
splashScreenManager.CloseWaitForm(); |
|
152 |
splashScreenManager1.CloseWaitForm();
|
|
153 | 153 |
} |
154 | 154 |
else |
155 | 155 |
{ |
내보내기 Unified diff