markus / KCOM / Events / Load.cs @ 3d425b19
이력 | 보기 | 이력해설 | 다운로드 (1.37 KB)
1 | 787a4489 | KangIngu | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.IO; |
||
4 | using System.Linq; |
||
5 | using System.Text; |
||
6 | //using MarkupToPDF.Service; |
||
7 | using IKCOM; |
||
8 | using KCOMDataModel.DataModel; |
||
9 | using KCOMDataModel.Common; |
||
10 | using System.Windows.Controls; |
||
11 | using MarkupToPDF.Controls.Parsing; |
||
12 | //강인구 추가 |
||
13 | namespace KCOM.Event |
||
14 | { |
||
15 | public class Load |
||
16 | { |
||
17 | |||
18 | public string document_id |
||
19 | { |
||
20 | get; |
||
21 | set; |
||
22 | } |
||
23 | public int Page_No |
||
24 | { |
||
25 | get; |
||
26 | set; |
||
27 | } |
||
28 | public string User_Id |
||
29 | { |
||
30 | get; |
||
31 | set; |
||
32 | } |
||
33 | public string DisplayColor |
||
34 | { |
||
35 | get; |
||
36 | set; |
||
37 | } |
||
38 | public string Markupinfoid |
||
39 | { |
||
40 | get; |
||
41 | set; |
||
42 | } |
||
43 | |||
44 | //마크업 불러오기 |
||
45 | public void Markup_Load(Canvas printCanvas) |
||
46 | { |
||
47 | LayerControl layerControl = new LayerControl(); |
||
48 | 6c781c0c | djkim | List<string> markupdata = new List<string>(); |
49 | markupdata = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.GetMarkupDataListperPage(App.ViewInfo.ProjectNO, Markupinfoid, Page_No); |
||
50 | foreach (string data in markupdata) |
||
51 | { |
||
52 | layerControl.ProjectNo = App.ViewInfo.ProjectNO; |
||
53 | layerControl.markupParse(data, printCanvas, DisplayColor, ""); |
||
54 | 787a4489 | KangIngu | } |
55 | 6c781c0c | djkim | |
56 | 787a4489 | KangIngu | } |
57 | } |
||
58 | } |