개정판 56f7f16e
issue #00000 Brief & image UI 수정
Change-Id: I90b759e8c7954e8bcb2afcb7685c1e12a9ce8977
ID2.Manager/ID2.Manager.Common/Helpers/ID2Excel.cs | ||
---|---|---|
63 | 63 |
return columnName; |
64 | 64 |
} |
65 | 65 |
|
66 |
private System.Drawing.Bitmap GetImage(string base64String)
|
|
66 |
private System.Drawing.Image GetImage(string base64String)
|
|
67 | 67 |
{ |
68 |
System.Drawing.Bitmap result = null;
|
|
69 |
|
|
68 |
System.Drawing.Image result = null;
|
|
69 |
|
|
70 | 70 |
var str = CompressHelper.DecompressString(base64String); |
71 | 71 |
|
72 | 72 |
byte[] imageBytes = Convert.FromBase64String(str); |
73 | 73 |
|
74 | 74 |
using (MemoryStream ms = new MemoryStream(imageBytes)) |
75 | 75 |
{ |
76 |
result = new System.Drawing.Bitmap(ms);
|
|
76 |
result = System.Drawing.Image.FromStream(ms);
|
|
77 | 77 |
} |
78 | 78 |
|
79 | 79 |
return result; |
... | ... | |
152 | 152 |
#endregion |
153 | 153 |
|
154 | 154 |
result.documents = new List<Documents>(); |
155 |
result.Images = new List<System.Drawing.Bitmap>();
|
|
155 |
result.Images = new List<System.Drawing.Image>();
|
|
156 | 156 |
|
157 | 157 |
foreach (var row in ExcelData.Where(row => row.ROW_INDEX > exRow).GroupBy(x => x.ROW_INDEX)) |
158 | 158 |
{ |
내보내기 Unified diff