|
|
@@ -140,12 +140,12 @@ namespace MeterPlugInLibrary
|
|
|
|
|
|
LedDll.FONTPROP FontProp = new LedDll.FONTPROP();//文字属性
|
|
|
FontProp.FontName = "宋体";
|
|
|
- FontProp.FontSize = 18;
|
|
|
+ FontProp.FontSize = 12;
|
|
|
FontProp.FontColor = LedDll.COLOR_RED;
|
|
|
FontProp.FontBold = 0;
|
|
|
//int nsize = System.Runtime.InteropServices.Marshal.SizeOf(typeof(LedDll.FONTPROP));
|
|
|
|
|
|
- nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 2, ref AreaRect, LedDll.ADDTYPE_STRING, "湖南视拓信息技术", ref FontProp, 1);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
+ nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 2, ref AreaRect, LedDll.ADDTYPE_STRING, "湖南视拓信息技术", ref FontProp, 4);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
|
|
|
|
|
|
AreaRect.left = 0;
|
|
|
@@ -153,7 +153,7 @@ namespace MeterPlugInLibrary
|
|
|
AreaRect.width = 128;
|
|
|
AreaRect.height = 20;
|
|
|
|
|
|
- nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 3, ref AreaRect, LedDll.ADDTYPE_STRING, "智能计量系统", ref FontProp, 1);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
+ nResult = LedDll.LV_QuickAddSingleLineTextArea(hProgram, 1, 3, ref AreaRect, LedDll.ADDTYPE_STRING, "智能计量系统", ref FontProp, 4);//快速通过字符添加一个单行文本区域,函数见函数声明注示
|
|
|
|
|
|
|
|
|
|
|
|
@@ -257,7 +257,7 @@ namespace MeterPlugInLibrary
|
|
|
|
|
|
LedDll.FONTPROP FontProp = new LedDll.FONTPROP();//文字属性
|
|
|
FontProp.FontName = "宋体";
|
|
|
- FontProp.FontSize = 18;
|
|
|
+ FontProp.FontSize = 10;
|
|
|
FontProp.FontColor = LedDll.COLOR_RED;
|
|
|
FontProp.FontBold = 0;
|
|
|
//int nsize = System.Runtime.InteropServices.Marshal.SizeOf(typeof(LedDll.FONTPROP));
|