개정판 4601d8de
add PdftoImage File
DTI_PID/PDF_TO_IMAGE/App.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<configuration> |
|
3 |
<configSections> |
|
4 |
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > |
|
5 |
<section name="PDF_TO_IMAGE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> |
|
6 |
</sectionGroup> |
|
7 |
</configSections> |
|
8 |
<startup> |
|
9 |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/> |
|
10 |
</startup> |
|
11 |
<userSettings> |
|
12 |
<PDF_TO_IMAGE.Properties.Settings> |
|
13 |
<setting name="_Dpi" serializeAs="String"> |
|
14 |
<value /> |
|
15 |
</setting> |
|
16 |
<setting name="_Height" serializeAs="String"> |
|
17 |
<value /> |
|
18 |
</setting> |
|
19 |
<setting name="_Width" serializeAs="String"> |
|
20 |
<value /> |
|
21 |
</setting> |
|
22 |
</PDF_TO_IMAGE.Properties.Settings> |
|
23 |
</userSettings> |
|
24 |
</configuration> |
DTI_PID/PDF_TO_IMAGE/ConvertImage.Designer.cs | ||
---|---|---|
1 |
namespace PDF_TO_IMAGE |
|
2 |
{ |
|
3 |
partial class ConvertImage |
|
4 |
{ |
|
5 |
/// <summary> |
|
6 |
/// 필수 디자이너 변수입니다. |
|
7 |
/// </summary> |
|
8 |
private System.ComponentModel.IContainer components = null; |
|
9 | ||
10 |
/// <summary> |
|
11 |
/// 사용 중인 모든 리소스를 정리합니다. |
|
12 |
/// </summary> |
|
13 |
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param> |
|
14 |
protected override void Dispose(bool disposing) |
|
15 |
{ |
|
16 |
if (disposing && (components != null)) |
|
17 |
{ |
|
18 |
components.Dispose(); |
|
19 |
} |
|
20 |
base.Dispose(disposing); |
|
21 |
} |
|
22 | ||
23 |
#region Windows Form 디자이너에서 생성한 코드 |
|
24 | ||
25 |
/// <summary> |
|
26 |
/// 디자이너 지원에 필요한 메서드입니다. |
|
27 |
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. |
|
28 |
/// </summary> |
|
29 |
private void InitializeComponent() |
|
30 |
{ |
|
31 |
this.Txt_PDFPath = new System.Windows.Forms.TextBox(); |
|
32 |
this.label1 = new System.Windows.Forms.Label(); |
|
33 |
this.Btn_LoadPDF = new System.Windows.Forms.Button(); |
|
34 |
this.Btn_Convert = new System.Windows.Forms.Button(); |
|
35 |
this.label2 = new System.Windows.Forms.Label(); |
|
36 |
this.Combo_DPI = new System.Windows.Forms.ComboBox(); |
|
37 |
this.label3 = new System.Windows.Forms.Label(); |
|
38 |
this.label4 = new System.Windows.Forms.Label(); |
|
39 |
this.label5 = new System.Windows.Forms.Label(); |
|
40 |
this.Txt_Height = new System.Windows.Forms.TextBox(); |
|
41 |
this.Txt_Width = new System.Windows.Forms.TextBox(); |
|
42 |
this.SuspendLayout(); |
|
43 |
// |
|
44 |
// Txt_PDFPath |
|
45 |
// |
|
46 |
this.Txt_PDFPath.Location = new System.Drawing.Point(75, 40); |
|
47 |
this.Txt_PDFPath.Name = "Txt_PDFPath"; |
|
48 |
this.Txt_PDFPath.Size = new System.Drawing.Size(498, 21); |
|
49 |
this.Txt_PDFPath.TabIndex = 0; |
|
50 |
// |
|
51 |
// label1 |
|
52 |
// |
|
53 |
this.label1.AutoSize = true; |
|
54 |
this.label1.Location = new System.Drawing.Point(12, 43); |
|
55 |
this.label1.Name = "label1"; |
|
56 |
this.label1.Size = new System.Drawing.Size(9, 12); |
|
57 |
this.label1.TabIndex = 1; |
|
58 |
this.label1.Text = " "; |
|
59 |
// |
|
60 |
// Btn_LoadPDF |
|
61 |
// |
|
62 |
this.Btn_LoadPDF.Location = new System.Drawing.Point(579, 39); |
|
63 |
this.Btn_LoadPDF.Name = "Btn_LoadPDF"; |
|
64 |
this.Btn_LoadPDF.Size = new System.Drawing.Size(35, 21); |
|
65 |
this.Btn_LoadPDF.TabIndex = 2; |
|
66 |
this.Btn_LoadPDF.Text = "..."; |
|
67 |
this.Btn_LoadPDF.UseVisualStyleBackColor = true; |
|
68 |
this.Btn_LoadPDF.Click += new System.EventHandler(this.Btn_LoadPDF_Click); |
|
69 |
// |
|
70 |
// Btn_Convert |
|
71 |
// |
|
72 |
this.Btn_Convert.BackColor = System.Drawing.Color.Transparent; |
|
73 |
this.Btn_Convert.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |
|
74 |
this.Btn_Convert.Location = new System.Drawing.Point(620, 39); |
|
75 |
this.Btn_Convert.Name = "Btn_Convert"; |
|
76 |
this.Btn_Convert.Size = new System.Drawing.Size(63, 21); |
|
77 |
this.Btn_Convert.TabIndex = 3; |
|
78 |
this.Btn_Convert.Text = "Convert"; |
|
79 |
this.Btn_Convert.UseVisualStyleBackColor = false; |
|
80 |
this.Btn_Convert.Click += new System.EventHandler(this.Btn_Convert_Click); |
|
81 |
// |
|
82 |
// label2 |
|
83 |
// |
|
84 |
this.label2.AutoSize = true; |
|
85 |
this.label2.Location = new System.Drawing.Point(12, 14); |
|
86 |
this.label2.Name = "label2"; |
|
87 |
this.label2.Size = new System.Drawing.Size(23, 12); |
|
88 |
this.label2.TabIndex = 4; |
|
89 |
this.label2.Text = "Dpi"; |
|
90 |
// |
|
91 |
// Combo_DPI |
|
92 |
// |
|
93 |
this.Combo_DPI.FormattingEnabled = true; |
|
94 |
this.Combo_DPI.Items.AddRange(new object[] { |
|
95 |
"150", |
|
96 |
"300", |
|
97 |
"600", |
|
98 |
"750", |
|
99 |
"900", |
|
100 |
"1200", |
|
101 |
"1500", |
|
102 |
"1800"}); |
|
103 |
this.Combo_DPI.Location = new System.Drawing.Point(75, 11); |
|
104 |
this.Combo_DPI.MaxDropDownItems = 12; |
|
105 |
this.Combo_DPI.Name = "Combo_DPI"; |
|
106 |
this.Combo_DPI.Size = new System.Drawing.Size(83, 20); |
|
107 |
this.Combo_DPI.TabIndex = 5; |
|
108 |
// |
|
109 |
// label3 |
|
110 |
// |
|
111 |
this.label3.AutoSize = true; |
|
112 |
this.label3.Location = new System.Drawing.Point(12, 43); |
|
113 |
this.label3.Name = "label3"; |
|
114 |
this.label3.Size = new System.Drawing.Size(57, 12); |
|
115 |
this.label3.TabIndex = 6; |
|
116 |
this.label3.Text = "PDF Path"; |
|
117 |
// |
|
118 |
// label4 |
|
119 |
// |
|
120 |
this.label4.AutoSize = true; |
|
121 |
this.label4.Location = new System.Drawing.Point(183, 14); |
|
122 |
this.label4.Name = "label4"; |
|
123 |
this.label4.Size = new System.Drawing.Size(40, 12); |
|
124 |
this.label4.TabIndex = 7; |
|
125 |
this.label4.Text = "Height"; |
|
126 |
this.label4.Visible = false; |
|
127 |
// |
|
128 |
// label5 |
|
129 |
// |
|
130 |
this.label5.AutoSize = true; |
|
131 |
this.label5.Location = new System.Drawing.Point(324, 14); |
|
132 |
this.label5.Name = "label5"; |
|
133 |
this.label5.Size = new System.Drawing.Size(35, 12); |
|
134 |
this.label5.TabIndex = 8; |
|
135 |
this.label5.Text = "Width"; |
|
136 |
this.label5.Visible = false; |
|
137 |
// |
|
138 |
// Txt_Height |
|
139 |
// |
|
140 |
this.Txt_Height.Location = new System.Drawing.Point(229, 10); |
|
141 |
this.Txt_Height.Name = "Txt_Height"; |
|
142 |
this.Txt_Height.Size = new System.Drawing.Size(72, 21); |
|
143 |
this.Txt_Height.TabIndex = 9; |
|
144 |
this.Txt_Height.Visible = false; |
|
145 |
// |
|
146 |
// Txt_Width |
|
147 |
// |
|
148 |
this.Txt_Width.Location = new System.Drawing.Point(365, 10); |
|
149 |
this.Txt_Width.Name = "Txt_Width"; |
|
150 |
this.Txt_Width.Size = new System.Drawing.Size(72, 21); |
|
151 |
this.Txt_Width.TabIndex = 10; |
|
152 |
this.Txt_Width.Visible = false; |
|
153 |
// |
|
154 |
// ConvertImage |
|
155 |
// |
|
156 |
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
|
157 |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|
158 |
this.ClientSize = new System.Drawing.Size(695, 73); |
|
159 |
this.Controls.Add(this.Txt_Width); |
|
160 |
this.Controls.Add(this.Txt_Height); |
|
161 |
this.Controls.Add(this.label5); |
|
162 |
this.Controls.Add(this.label4); |
|
163 |
this.Controls.Add(this.label3); |
|
164 |
this.Controls.Add(this.Combo_DPI); |
|
165 |
this.Controls.Add(this.label2); |
|
166 |
this.Controls.Add(this.Btn_Convert); |
|
167 |
this.Controls.Add(this.Btn_LoadPDF); |
|
168 |
this.Controls.Add(this.label1); |
|
169 |
this.Controls.Add(this.Txt_PDFPath); |
|
170 |
this.Name = "ConvertImage"; |
|
171 |
this.ShowIcon = false; |
|
172 |
this.Text = "ConvertImage"; |
|
173 |
this.ResumeLayout(false); |
|
174 |
this.PerformLayout(); |
|
175 | ||
176 |
} |
|
177 | ||
178 |
#endregion |
|
179 | ||
180 |
private System.Windows.Forms.TextBox Txt_PDFPath; |
|
181 |
private System.Windows.Forms.Label label1; |
|
182 |
private System.Windows.Forms.Button Btn_LoadPDF; |
|
183 |
private System.Windows.Forms.Button Btn_Convert; |
|
184 |
private System.Windows.Forms.Label label2; |
|
185 |
private System.Windows.Forms.ComboBox Combo_DPI; |
|
186 |
private System.Windows.Forms.Label label3; |
|
187 |
private System.Windows.Forms.Label label4; |
|
188 |
private System.Windows.Forms.Label label5; |
|
189 |
private System.Windows.Forms.TextBox Txt_Height; |
|
190 |
private System.Windows.Forms.TextBox Txt_Width; |
|
191 |
} |
|
192 |
} |
|
193 |
DTI_PID/PDF_TO_IMAGE/ConvertImage.cs | ||
---|---|---|
1 |
using pdftron.PDF; |
|
2 |
using pdftron.SDF; |
|
3 |
using System; |
|
4 |
using System.Collections.Generic; |
|
5 |
using System.ComponentModel; |
|
6 |
using System.Data; |
|
7 |
using System.Drawing; |
|
8 |
using System.Drawing.Imaging; |
|
9 |
using System.IO; |
|
10 |
using System.Linq; |
|
11 |
using System.Text; |
|
12 |
using System.Threading.Tasks; |
|
13 |
using System.Windows.Forms; |
|
14 | ||
15 |
namespace PDF_TO_IMAGE |
|
16 |
{ |
|
17 |
public partial class ConvertImage : Form |
|
18 |
{ |
|
19 |
public ConvertImage() |
|
20 |
{ |
|
21 |
InitializeComponent(); |
|
22 |
Combo_DPI.Text = Properties.Settings.Default._Dpi; |
|
23 |
Txt_Height.Text = Properties.Settings.Default._Height; |
|
24 |
Txt_Width.Text = Properties.Settings.Default._Width; |
|
25 |
} |
|
26 | ||
27 |
private void Btn_LoadPDF_Click(object sender, EventArgs e) |
|
28 |
{ |
|
29 |
OpenFileDialog OFD = new OpenFileDialog(); |
|
30 |
OFD.Filter = "PDF Files (.PDF)|*.PDF"; |
|
31 |
if (OFD.ShowDialog() == DialogResult.OK) |
|
32 |
{ |
|
33 |
string pdfpath = OFD.FileName; |
|
34 | ||
35 |
Txt_PDFPath.Text = pdfpath; |
|
36 | ||
37 |
} |
|
38 |
} |
|
39 |
private static ImageCodecInfo GetEncoderInfo(String mimeType) |
|
40 |
{ |
|
41 |
int j; |
|
42 |
ImageCodecInfo[] encoders; |
|
43 |
encoders = ImageCodecInfo.GetImageEncoders(); |
|
44 |
for (j = 0; j < encoders.Length; ++j) |
|
45 |
{ |
|
46 |
if (encoders[j].MimeType == mimeType) |
|
47 |
return encoders[j]; |
|
48 |
} |
|
49 |
return null; |
|
50 |
} |
|
51 | ||
52 |
private bool ConvertPdfToImage(string FilePath) |
|
53 | ||
54 |
{ |
|
55 |
string sPathNonExtension = FilePath.Replace(Path.GetExtension(FilePath), ""); |
|
56 | ||
57 | ||
58 | ||
59 |
using (PDFDoc doc = new PDFDoc(FilePath)) |
|
60 |
{ |
|
61 |
// pdftron.PDFNet.Initialize("daelim.co.kr(Doftech Corp):CPU:2::W:AMC(20120315):EF6E886F25A414FFB5F8C1F2999CF2DA33DC6C5164315BAF7011B87AF0FA"); |
|
62 |
Bitmap newBmp_; |
|
63 |
ImageCodecInfo DefaultImageCodecInfo = GetEncoderInfo("image/png"); |
|
64 |
EncoderParameters DefaultEncoderParameters = new EncoderParameters(2); |
|
65 |
System.Drawing.Imaging.Encoder QualityEncoder = System.Drawing.Imaging.Encoder.Quality; |
|
66 |
System.Drawing.Imaging.Encoder ColorDepthEncoder = System.Drawing.Imaging.Encoder.ColorDepth; |
|
67 |
DefaultEncoderParameters.Param[0] = new EncoderParameter(QualityEncoder, 100L); |
|
68 |
DefaultEncoderParameters.Param[1] = new EncoderParameter(ColorDepthEncoder, 8L); |
|
69 | ||
70 |
#region 이미지 만들기 |
|
71 |
for (int i = 1; i < doc.GetPageCount() + 1; i++) |
|
72 |
{ |
|
73 |
try |
|
74 |
{ |
|
75 |
using (pdftron.PDF.PDFDraw draw = new pdftron.PDF.PDFDraw()) |
|
76 |
{ |
|
77 |
float fDpix = 600; |
|
78 |
float fDpiy = 600; |
|
79 |
//int iWidth = 10000; |
|
80 |
//int iHeight = 10000; |
|
81 |
try |
|
82 |
{fDpix = float.Parse(Combo_DPI.Text); |
|
83 |
fDpiy = float.Parse(Combo_DPI.Text);} |
|
84 |
catch |
|
85 |
{} |
|
86 |
//try |
|
87 |
//{iWidth = int.Parse(Properties.Settings.Default._Width); |
|
88 |
//iHeight = int.Parse(Properties.Settings.Default._Height); |
|
89 |
//}catch{ } |
|
90 |
ElementBuilder bld = new ElementBuilder(); |
|
91 |
ElementWriter writer = new ElementWriter(); |
|
92 |
//var widthData = (int)doc.GetPage(i).GetPageWidth(); |
|
93 |
//int heightData = (int)doc.GetPage(i).GetPageHeight(); |
|
94 |
var rotation = doc.GetPage(i).GetRotation(); |
|
95 |
// draw.SetImageSize((int)(widthData * 2), (int)(heightData * 2), true); |
|
96 |
// draw.SetImageSize(iWidth, iHeight, true); |
|
97 |
draw.SetAntiAliasing(true); |
|
98 |
draw.SetDPI(fDpix); |
|
99 |
newBmp_ = draw.GetBitmap(doc.GetPage(i)); |
|
100 |
|
|
101 |
using (MemoryStream _savestream = new MemoryStream()) |
|
102 |
{ |
|
103 |
newBmp_.Save(_savestream, DefaultImageCodecInfo, DefaultEncoderParameters); |
|
104 |
newBmp_ = new Bitmap(_savestream); |
|
105 |
ObjSet objset = new ObjSet(); |
|
106 |
Obj jbig2_hint = objset.CreateName("png"); |
|
107 |
string pagePath = sPathNonExtension; |
|
108 |
if (i > 1) |
|
109 |
{ |
|
110 |
pagePath = sPathNonExtension + "\\" + i; |
|
111 |
} |
|
112 |
newBmp_.Save(pagePath + "_" + fDpix +".png"); |
|
113 |
newBmp_.Dispose(); |
|
114 |
} |
|
115 |
GC.Collect(); |
|
116 |
GC.WaitForPendingFinalizers(); |
|
117 |
} |
|
118 |
} |
|
119 |
catch (Exception ex) |
|
120 |
{ |
|
121 |
return false; |
|
122 |
} |
|
123 |
} |
|
124 |
#endregion |
|
125 |
return true; |
|
126 |
} |
|
127 |
} |
|
128 | ||
129 |
private void Btn_Convert_Click(object sender, EventArgs e) |
|
130 |
{ |
|
131 | ||
132 |
int iDpi = 0; |
|
133 |
if(Txt_PDFPath.Text != "" && int.TryParse(Combo_DPI.Text,out iDpi) == true) |
|
134 |
{ |
|
135 |
Properties.Settings.Default._Dpi = Combo_DPI.Text; |
|
136 |
Properties.Settings.Default._Height = Txt_Height.Text; |
|
137 |
Properties.Settings.Default._Width = Txt_Width.Text; |
|
138 |
Properties.Settings.Default.Save(); |
|
139 |
ConvertPdfToImage(Txt_PDFPath.Text); |
|
140 |
} |
|
141 |
else |
|
142 |
{ |
|
143 |
MessageBox.Show("PDF 경로와 DPI를 확인해주세요"); |
|
144 |
} |
|
145 | ||
146 |
} |
|
147 |
} |
|
148 |
} |
DTI_PID/PDF_TO_IMAGE/ConvertImage.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 | ||
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
</root> |
DTI_PID/PDF_TO_IMAGE/PDF_TO_IMAGE.csproj | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
3 |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
|
4 |
<PropertyGroup> |
|
5 |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
6 |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
7 |
<ProjectGuid>{B7B8B0AE-9F03-4543-BC05-813A25E9D584}</ProjectGuid> |
|
8 |
<OutputType>WinExe</OutputType> |
|
9 |
<RootNamespace>PDF_TO_IMAGE</RootNamespace> |
|
10 |
<AssemblyName>PDF_TO_IMAGE</AssemblyName> |
|
11 |
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
|
12 |
<FileAlignment>512</FileAlignment> |
|
13 |
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
|
14 |
<TargetFrameworkProfile /> |
|
15 |
</PropertyGroup> |
|
16 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|
17 |
<PlatformTarget>x64</PlatformTarget> |
|
18 |
<DebugSymbols>true</DebugSymbols> |
|
19 |
<DebugType>full</DebugType> |
|
20 |
<Optimize>false</Optimize> |
|
21 |
<OutputPath>bin\Debug\</OutputPath> |
|
22 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
23 |
<ErrorReport>prompt</ErrorReport> |
|
24 |
<WarningLevel>4</WarningLevel> |
|
25 |
<Prefer32Bit>false</Prefer32Bit> |
|
26 |
</PropertyGroup> |
|
27 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|
28 |
<PlatformTarget>AnyCPU</PlatformTarget> |
|
29 |
<DebugType>pdbonly</DebugType> |
|
30 |
<Optimize>true</Optimize> |
|
31 |
<OutputPath>bin\Release\</OutputPath> |
|
32 |
<DefineConstants>TRACE</DefineConstants> |
|
33 |
<ErrorReport>prompt</ErrorReport> |
|
34 |
<WarningLevel>4</WarningLevel> |
|
35 |
<Prefer32Bit>false</Prefer32Bit> |
|
36 |
</PropertyGroup> |
|
37 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
|
38 |
<DebugSymbols>true</DebugSymbols> |
|
39 |
<OutputPath>bin\x64\Debug\</OutputPath> |
|
40 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|
41 |
<DebugType>full</DebugType> |
|
42 |
<PlatformTarget>x64</PlatformTarget> |
|
43 |
<ErrorReport>prompt</ErrorReport> |
|
44 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
45 |
</PropertyGroup> |
|
46 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> |
|
47 |
<OutputPath>bin\x64\Release\</OutputPath> |
|
48 |
<DefineConstants>TRACE</DefineConstants> |
|
49 |
<Optimize>true</Optimize> |
|
50 |
<DebugType>pdbonly</DebugType> |
|
51 |
<PlatformTarget>x64</PlatformTarget> |
|
52 |
<ErrorReport>prompt</ErrorReport> |
|
53 |
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|
54 |
</PropertyGroup> |
|
55 |
<ItemGroup> |
|
56 |
<Reference Include="DevExpress.Data.v18.1, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
57 |
<Reference Include="DevExpress.Printing.v18.1.Core, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
58 |
<Reference Include="DevExpress.Sparkline.v18.1.Core, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
59 |
<Reference Include="DevExpress.Utils.v18.1, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
|
60 |
<Reference Include="DevExpress.XtraEditors.v18.1, Version=18.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
|
61 |
<Reference Include="PDFNet, Version=5.8.0.0, Culture=neutral, PublicKeyToken=36167be3f67ac39c, processorArchitecture=AMD64"> |
|
62 |
<SpecificVersion>False</SpecificVersion> |
|
63 |
<HintPath>..\SPPIDConverter\bin\Debug\PDFNet.dll</HintPath> |
|
64 |
</Reference> |
|
65 |
<Reference Include="System" /> |
|
66 |
<Reference Include="System.ComponentModel.DataAnnotations" /> |
|
67 |
<Reference Include="System.Core" /> |
|
68 |
<Reference Include="System.Data.Linq" /> |
|
69 |
<Reference Include="System.Xml.Linq" /> |
|
70 |
<Reference Include="System.Data.DataSetExtensions" /> |
|
71 |
<Reference Include="Microsoft.CSharp" /> |
|
72 |
<Reference Include="System.Data" /> |
|
73 |
<Reference Include="System.Deployment" /> |
|
74 |
<Reference Include="System.Drawing" /> |
|
75 |
<Reference Include="System.Net.Http" /> |
|
76 |
<Reference Include="System.Windows.Forms" /> |
|
77 |
<Reference Include="System.Xml" /> |
|
78 |
</ItemGroup> |
|
79 |
<ItemGroup> |
|
80 |
<Compile Include="ConvertImage.cs"> |
|
81 |
<SubType>Form</SubType> |
|
82 |
</Compile> |
|
83 |
<Compile Include="ConvertImage.Designer.cs"> |
|
84 |
<DependentUpon>ConvertImage.cs</DependentUpon> |
|
85 |
</Compile> |
|
86 |
<Compile Include="Program.cs" /> |
|
87 |
<Compile Include="Properties\AssemblyInfo.cs" /> |
|
88 |
<EmbeddedResource Include="ConvertImage.resx"> |
|
89 |
<DependentUpon>ConvertImage.cs</DependentUpon> |
|
90 |
</EmbeddedResource> |
|
91 |
<EmbeddedResource Include="Properties\Resources.resx"> |
|
92 |
<Generator>ResXFileCodeGenerator</Generator> |
|
93 |
<LastGenOutput>Resources.Designer.cs</LastGenOutput> |
|
94 |
<SubType>Designer</SubType> |
|
95 |
</EmbeddedResource> |
|
96 |
<Compile Include="Properties\Resources.Designer.cs"> |
|
97 |
<AutoGen>True</AutoGen> |
|
98 |
<DependentUpon>Resources.resx</DependentUpon> |
|
99 |
<DesignTime>True</DesignTime> |
|
100 |
</Compile> |
|
101 |
<None Include="Properties\Settings.settings"> |
|
102 |
<Generator>SettingsSingleFileGenerator</Generator> |
|
103 |
<LastGenOutput>Settings.Designer.cs</LastGenOutput> |
|
104 |
</None> |
|
105 |
<Compile Include="Properties\Settings.Designer.cs"> |
|
106 |
<AutoGen>True</AutoGen> |
|
107 |
<DependentUpon>Settings.settings</DependentUpon> |
|
108 |
<DesignTimeSharedInput>True</DesignTimeSharedInput> |
|
109 |
</Compile> |
|
110 |
</ItemGroup> |
|
111 |
<ItemGroup> |
|
112 |
<None Include="App.config" /> |
|
113 |
</ItemGroup> |
|
114 |
<ItemGroup> |
|
115 |
<WCFMetadata Include="Connected Services\" /> |
|
116 |
</ItemGroup> |
|
117 |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|
118 |
</Project> |
DTI_PID/PDF_TO_IMAGE/Program.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Threading.Tasks; |
|
5 |
using System.Windows.Forms; |
|
6 | ||
7 |
namespace PDF_TO_IMAGE |
|
8 |
{ |
|
9 |
static class Program |
|
10 |
{ |
|
11 |
/// <summary> |
|
12 |
/// 해당 응용 프로그램의 주 진입점입니다. |
|
13 |
/// </summary> |
|
14 |
[STAThread] |
|
15 |
static void Main() |
|
16 |
{ |
|
17 |
Application.EnableVisualStyles(); |
|
18 |
Application.SetCompatibleTextRenderingDefault(false); |
|
19 |
Application.Run(new ConvertImage()); |
|
20 |
} |
|
21 |
} |
|
22 |
} |
DTI_PID/PDF_TO_IMAGE/Properties/AssemblyInfo.cs | ||
---|---|---|
1 |
using System.Reflection; |
|
2 |
using System.Runtime.CompilerServices; |
|
3 |
using System.Runtime.InteropServices; |
|
4 | ||
5 |
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 |
|
6 |
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 |
|
7 |
// 이러한 특성 값을 변경하세요. |
|
8 |
[assembly: AssemblyTitle("PDF_TO_IMAGE")] |
|
9 |
[assembly: AssemblyDescription("")] |
|
10 |
[assembly: AssemblyConfiguration("")] |
|
11 |
[assembly: AssemblyCompany("")] |
|
12 |
[assembly: AssemblyProduct("PDF_TO_IMAGE")] |
|
13 |
[assembly: AssemblyCopyright("Copyright © 2018")] |
|
14 |
[assembly: AssemblyTrademark("")] |
|
15 |
[assembly: AssemblyCulture("")] |
|
16 | ||
17 |
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 |
|
18 |
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 |
|
19 |
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. |
|
20 |
[assembly: ComVisible(false)] |
|
21 | ||
22 |
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. |
|
23 |
[assembly: Guid("b7b8b0ae-9f03-4543-bc05-813a25e9d584")] |
|
24 | ||
25 |
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. |
|
26 |
// |
|
27 |
// 주 버전 |
|
28 |
// 부 버전 |
|
29 |
// 빌드 번호 |
|
30 |
// 수정 버전 |
|
31 |
// |
|
32 |
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 |
|
33 |
// 지정되도록 할 수 있습니다. |
|
34 |
// [assembly: AssemblyVersion("1.0.*")] |
|
35 |
[assembly: AssemblyVersion("1.0.0.0")] |
|
36 |
[assembly: AssemblyFileVersion("1.0.0.0")] |
DTI_PID/PDF_TO_IMAGE/Properties/Resources.Designer.cs | ||
---|---|---|
1 |
//------------------------------------------------------------------------------ |
|
2 |
// <auto-generated> |
|
3 |
// 이 코드는 도구를 사용하여 생성되었습니다. |
|
4 |
// 런타임 버전:4.0.30319.42000 |
|
5 |
// |
|
6 |
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 |
|
7 |
// 이러한 변경 내용이 손실됩니다. |
|
8 |
// </auto-generated> |
|
9 |
//------------------------------------------------------------------------------ |
|
10 | ||
11 |
namespace PDF_TO_IMAGE.Properties { |
|
12 |
using System; |
|
13 |
|
|
14 |
|
|
15 |
/// <summary> |
|
16 |
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. |
|
17 |
/// </summary> |
|
18 |
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder |
|
19 |
// 클래스에서 자동으로 생성되었습니다. |
|
20 |
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 |
|
21 |
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. |
|
22 |
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] |
|
23 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
24 |
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|
25 |
internal class Resources { |
|
26 |
|
|
27 |
private static global::System.Resources.ResourceManager resourceMan; |
|
28 |
|
|
29 |
private static global::System.Globalization.CultureInfo resourceCulture; |
|
30 |
|
|
31 |
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
|
32 |
internal Resources() { |
|
33 |
} |
|
34 |
|
|
35 |
/// <summary> |
|
36 |
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. |
|
37 |
/// </summary> |
|
38 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
39 |
internal static global::System.Resources.ResourceManager ResourceManager { |
|
40 |
get { |
|
41 |
if (object.ReferenceEquals(resourceMan, null)) { |
|
42 |
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PDF_TO_IMAGE.Properties.Resources", typeof(Resources).Assembly); |
|
43 |
resourceMan = temp; |
|
44 |
} |
|
45 |
return resourceMan; |
|
46 |
} |
|
47 |
} |
|
48 |
|
|
49 |
/// <summary> |
|
50 |
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대한 현재 스레드의 CurrentUICulture |
|
51 |
/// 속성을 재정의합니다. |
|
52 |
/// </summary> |
|
53 |
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|
54 |
internal static global::System.Globalization.CultureInfo Culture { |
|
55 |
get { |
|
56 |
return resourceCulture; |
|
57 |
} |
|
58 |
set { |
|
59 |
resourceCulture = value; |
|
60 |
} |
|
61 |
} |
|
62 |
} |
|
63 |
} |
DTI_PID/PDF_TO_IMAGE/Properties/Resources.resx | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<root> |
|
3 |
<!-- |
|
4 |
Microsoft ResX Schema |
|
5 |
|
|
6 |
Version 2.0 |
|
7 |
|
|
8 |
The primary goals of this format is to allow a simple XML format |
|
9 |
that is mostly human readable. The generation and parsing of the |
|
10 |
various data types are done through the TypeConverter classes |
|
11 |
associated with the data types. |
|
12 |
|
|
13 |
Example: |
|
14 |
|
|
15 |
... ado.net/XML headers & schema ... |
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|
17 |
<resheader name="version">2.0</resheader> |
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|
20 |
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|
23 |
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|
24 |
</data> |
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|
26 |
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|
27 |
<comment>This is a comment</comment> |
|
28 |
</data> |
|
29 |
|
|
30 |
There are any number of "resheader" rows that contain simple |
|
31 |
name/value pairs. |
|
32 |
|
|
33 |
Each data row contains a name, and value. The row also contains a |
|
34 |
type or mimetype. Type corresponds to a .NET class that support |
|
35 |
text/value conversion through the TypeConverter architecture. |
|
36 |
Classes that don't support this are serialized and stored with the |
|
37 |
mimetype set. |
|
38 |
|
|
39 |
The mimetype is used for serialized objects, and tells the |
|
40 |
ResXResourceReader how to depersist the object. This is currently not |
|
41 |
extensible. For a given mimetype the value must be set accordingly: |
|
42 |
|
|
43 |
Note - application/x-microsoft.net.object.binary.base64 is the format |
|
44 |
that the ResXResourceWriter will generate, however the reader can |
|
45 |
read any of the formats listed below. |
|
46 |
|
|
47 |
mimetype: application/x-microsoft.net.object.binary.base64 |
|
48 |
value : The object must be serialized with |
|
49 |
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|
50 |
: and then encoded with base64 encoding. |
|
51 |
|
|
52 |
mimetype: application/x-microsoft.net.object.soap.base64 |
|
53 |
value : The object must be serialized with |
|
54 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|
55 |
: and then encoded with base64 encoding. |
|
56 | ||
57 |
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|
58 |
value : The object must be serialized into a byte array |
|
59 |
: using a System.ComponentModel.TypeConverter |
|
60 |
: and then encoded with base64 encoding. |
|
61 |
--> |
|
62 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|
63 |
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|
64 |
<xsd:element name="root" msdata:IsDataSet="true"> |
|
65 |
<xsd:complexType> |
|
66 |
<xsd:choice maxOccurs="unbounded"> |
|
67 |
<xsd:element name="metadata"> |
|
68 |
<xsd:complexType> |
|
69 |
<xsd:sequence> |
|
70 |
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|
71 |
</xsd:sequence> |
|
72 |
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|
73 |
<xsd:attribute name="type" type="xsd:string" /> |
|
74 |
<xsd:attribute name="mimetype" type="xsd:string" /> |
|
75 |
<xsd:attribute ref="xml:space" /> |
|
76 |
</xsd:complexType> |
|
77 |
</xsd:element> |
|
78 |
<xsd:element name="assembly"> |
|
79 |
<xsd:complexType> |
|
80 |
<xsd:attribute name="alias" type="xsd:string" /> |
|
81 |
<xsd:attribute name="name" type="xsd:string" /> |
|
82 |
</xsd:complexType> |
|
83 |
</xsd:element> |
|
84 |
<xsd:element name="data"> |
|
85 |
<xsd:complexType> |
|
86 |
<xsd:sequence> |
|
87 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
88 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|
89 |
</xsd:sequence> |
|
90 |
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|
91 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|
92 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|
93 |
<xsd:attribute ref="xml:space" /> |
|
94 |
</xsd:complexType> |
|
95 |
</xsd:element> |
|
96 |
<xsd:element name="resheader"> |
|
97 |
<xsd:complexType> |
|
98 |
<xsd:sequence> |
|
99 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|
100 |
</xsd:sequence> |
|
101 |
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|
102 |
</xsd:complexType> |
|
103 |
</xsd:element> |
|
104 |
</xsd:choice> |
|
105 |
</xsd:complexType> |
|
106 |
</xsd:element> |
|
107 |
</xsd:schema> |
|
108 |
<resheader name="resmimetype"> |
|
109 |
<value>text/microsoft-resx</value> |
|
110 |
</resheader> |
|
111 |
<resheader name="version"> |
|
112 |
<value>2.0</value> |
|
113 |
</resheader> |
|
114 |
<resheader name="reader"> |
|
115 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
116 |
</resheader> |
|
117 |
<resheader name="writer"> |
|
118 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|
119 |
</resheader> |
|
120 |
</root> |
DTI_PID/PDF_TO_IMAGE/Properties/Settings.Designer.cs | ||
---|---|---|
1 |
//------------------------------------------------------------------------------ |
|
2 |
// <auto-generated> |
|
3 |
// 이 코드는 도구를 사용하여 생성되었습니다. |
|
4 |
// 런타임 버전:4.0.30319.42000 |
|
5 |
// |
|
6 |
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 |
|
7 |
// 이러한 변경 내용이 손실됩니다. |
|
8 |
// </auto-generated> |
|
9 |
//------------------------------------------------------------------------------ |
|
10 | ||
11 |
namespace PDF_TO_IMAGE.Properties { |
|
12 |
|
|
13 |
|
|
14 |
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|
15 |
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")] |
|
16 |
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { |
|
17 |
|
|
18 |
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
|
19 |
|
|
20 |
public static Settings Default { |
|
21 |
get { |
|
22 |
return defaultInstance; |
|
23 |
} |
|
24 |
} |
|
25 |
|
|
26 |
[global::System.Configuration.UserScopedSettingAttribute()] |
|
27 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
28 |
[global::System.Configuration.DefaultSettingValueAttribute("")] |
|
29 |
public string _Dpi { |
|
30 |
get { |
|
31 |
return ((string)(this["_Dpi"])); |
|
32 |
} |
|
33 |
set { |
|
34 |
this["_Dpi"] = value; |
|
35 |
} |
|
36 |
} |
|
37 |
|
|
38 |
[global::System.Configuration.UserScopedSettingAttribute()] |
|
39 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
40 |
[global::System.Configuration.DefaultSettingValueAttribute("")] |
|
41 |
public string _Height { |
|
42 |
get { |
|
43 |
return ((string)(this["_Height"])); |
|
44 |
} |
|
45 |
set { |
|
46 |
this["_Height"] = value; |
|
47 |
} |
|
48 |
} |
|
49 |
|
|
50 |
[global::System.Configuration.UserScopedSettingAttribute()] |
|
51 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
52 |
[global::System.Configuration.DefaultSettingValueAttribute("")] |
|
53 |
public string _Width { |
|
54 |
get { |
|
55 |
return ((string)(this["_Width"])); |
|
56 |
} |
|
57 |
set { |
|
58 |
this["_Width"] = value; |
|
59 |
} |
|
60 |
} |
|
61 |
} |
|
62 |
} |
DTI_PID/PDF_TO_IMAGE/Properties/Settings.settings | ||
---|---|---|
1 |
<?xml version='1.0' encoding='utf-8'?> |
|
2 |
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="PDF_TO_IMAGE.Properties" GeneratedClassName="Settings"> |
|
3 |
<Profiles /> |
|
4 |
<Settings> |
|
5 |
<Setting Name="_Dpi" Type="System.String" Scope="User"> |
|
6 |
<Value Profile="(Default)" /> |
|
7 |
</Setting> |
|
8 |
<Setting Name="_Height" Type="System.String" Scope="User"> |
|
9 |
<Value Profile="(Default)" /> |
|
10 |
</Setting> |
|
11 |
<Setting Name="_Width" Type="System.String" Scope="User"> |
|
12 |
<Value Profile="(Default)" /> |
|
13 |
</Setting> |
|
14 |
</Settings> |
|
15 |
</SettingsFile> |
DTI_PID/SPPIDConverter/SPPIDConverter.vbproj | ||
---|---|---|
18 | 18 |
<TargetFrameworkProfile /> |
19 | 19 |
</PropertyGroup> |
20 | 20 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
21 |
<PlatformTarget>x86</PlatformTarget>
|
|
21 |
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
22 | 22 |
<DebugSymbols>true</DebugSymbols> |
23 | 23 |
<DebugType>full</DebugType> |
24 | 24 |
<DefineDebug>true</DefineDebug> |
... | ... | |
67 | 67 |
<SpecificVersion>False</SpecificVersion> |
68 | 68 |
<HintPath>bin\Debug\GemBox.Spreadsheet.dll</HintPath> |
69 | 69 |
</Reference> |
70 |
<Reference Include="PDFNet, Version=6.8.2.65223, Culture=neutral, PublicKeyToken=45663c462b939c60, processorArchitecture=x86"> |
|
71 |
<HintPath>..\packages\PDFNet.6.8.2.65223\lib\net40\PDFNet.dll</HintPath> |
|
72 |
<Private>False</Private> |
|
73 |
</Reference> |
|
74 |
<Reference Include="PDFNetLoader, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
|
75 |
<HintPath>..\packages\PDFNet.6.8.2.65223\lib\net40\PDFNetLoader.dll</HintPath> |
|
76 |
</Reference> |
|
70 | 77 |
<Reference Include="System" /> |
71 | 78 |
<Reference Include="System.ComponentModel.DataAnnotations" /> |
72 | 79 |
<Reference Include="System.Data" /> |
... | ... | |
294 | 301 |
<ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText> |
295 | 302 |
</PropertyGroup> |
296 | 303 |
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.108.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.108.0\build\net451\System.Data.SQLite.Core.targets'))" /> |
304 |
<Error Condition="!Exists('..\packages\PDFNet.6.8.2.65223\build\net40\PDFNet.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\PDFNet.6.8.2.65223\build\net40\PDFNet.targets'))" /> |
|
297 | 305 |
</Target> |
306 |
<Import Project="..\packages\PDFNet.6.8.2.65223\build\net40\PDFNet.targets" Condition="Exists('..\packages\PDFNet.6.8.2.65223\build\net40\PDFNet.targets')" /> |
|
298 | 307 |
</Project> |
DTI_PID/SPPIDConverter/packages.config | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<packages> |
3 | 3 |
<package id="EntityFramework" version="6.0.0" targetFramework="net452" /> |
4 |
<package id="PDFNet" version="6.8.2.65223" targetFramework="net452" /> |
|
4 | 5 |
<package id="System.Data.SQLite" version="1.0.108.0" targetFramework="net452" /> |
5 | 6 |
<package id="System.Data.SQLite.Core" version="1.0.108.0" targetFramework="net452" /> |
6 | 7 |
<package id="System.Data.SQLite.EF6" version="1.0.108.0" targetFramework="net452" /> |
내보내기 Unified diff