개정판 edecde99
issue #000 check mark symbol not display modify
MarkupToPDF/Controls/Parsing/MarkupParse.cs | ||
---|---|---|
3989 | 3989 |
break; |
3990 | 3990 |
#endregion |
3991 | 3991 |
#region Symbol |
3992 |
// case "SymControl": |
|
3993 |
// using (S_SymControl s = JsonSerializerHelper.JsonDeserialize<S_SymControl>(item)) |
|
3994 |
// { |
|
3995 |
// string[] data2 = s.SizeSet.Split(delimiterChars2, StringSplitOptions.RemoveEmptyEntries); |
|
3996 |
// StringToPathConverter sm = new StringToPathConverter(); |
|
3997 |
// SymControl instance = new SymControl() |
|
3998 |
// { |
|
3999 |
// LineSize = Convert.ToDouble(data2.First()), |
|
4000 |
// PointSet = s.PointSet, |
|
4001 |
// Paint = s.PaintState, |
|
4002 |
// StartPoint = s.StartPoint, |
|
4003 |
// StrokeColor = _SetColor, |
|
4004 |
// EndPoint = s.EndPoint, |
|
4005 |
// Angle = s.Angle, |
|
4006 |
// LeftBottomPoint = s.LB, |
|
4007 |
// TopRightPoint = s.TR, |
|
4008 |
// PathData = sm.Convert(s.PathInfo.ToString()), |
|
4009 |
// Opacity = s.Opac, |
|
4010 |
// }; |
|
4011 |
// //if (ToolTipService.GetToolTip(instance).ToString() == "") |
|
4012 |
// //{ |
|
4013 |
//#if SILVERLIGHT |
|
4014 |
// ToolTipService.SetToolTip(instance, UserNumber); |
|
4015 |
//#endif |
|
4016 |
// //} //조장원 |
|
4017 |
// Layer.Children.Add(instance); |
|
4018 |
// instance.ApplyTemplate(); |
|
4019 |
// instance.SetSymPath(); |
|
4020 |
// } |
|
4021 |
// break; |
|
3992 |
case "SymControl": |
|
3993 |
using (S_SymControl s = JsonSerializerHelper.JsonDeserialize<S_SymControl>(item)) |
|
3994 |
{ |
|
3995 |
string[] data2 = s.SizeSet.Split(delimiterChars2, StringSplitOptions.RemoveEmptyEntries); |
|
3996 |
Common.StringToPathConverter sm = new Common.StringToPathConverter(); |
|
3997 |
SymControl instance = new SymControl() |
|
3998 |
{ |
|
3999 |
LineSize = Convert.ToDouble(data2.First()), |
|
4000 |
PointSet = s.PointSet, |
|
4001 |
Paint = s.PaintState, |
|
4002 |
StartPoint = s.StartPoint, |
|
4003 |
StrokeColor = _SetColor, |
|
4004 |
EndPoint = s.EndPoint, |
|
4005 |
Angle = s.Angle, |
|
4006 |
LeftBottomPoint = s.LB, |
|
4007 |
TopRightPoint = s.TR, |
|
4008 |
PathData = sm.Convert(s.PathInfo.ToString()), |
|
4009 |
Opacity = s.Opac, |
|
4010 |
}; |
|
4011 |
|
|
4012 |
instance.Memo = s.Memo; |
|
4013 |
baseLayer.Add(instance); |
|
4014 |
instance.ApplyTemplate(); |
|
4015 |
instance.SetSymPath(); |
|
4016 |
} |
|
4017 |
break; |
|
4022 | 4018 |
#endregion |
4023 | 4019 |
#region Image |
4024 | 4020 |
case "ImgControl": |
내보내기 Unified diff