摘要:
//获得汉字的区位码 byte[] array = new byte[2]; array = System.Text.Encoding.Default.GetBytes("啊"); int i1 = (short)(array[0] - ''\0''); int i2 = (short)(array[1] - ''\0''); //unicode解码方式下的汉字码 array = Sy... 阅读全文
摘要:
http://www.sunnycbd.com/gm/sc.htm 阅读全文
摘要:
// clear the background Graphics g = this.CreateGraphics(); g.Clear(Color.AliceBlue); // create a pen Pen pen = new Pen(Color.Red, 1f); // the string to be drawn string s = "S"; ... 阅读全文
摘要:
RTF格式分析详表 标记名称 定义 \QL 左对齐 \QC 居中对齐 \QR 右对齐 \FS 字体大小(如:\fs20即为10号字体) \FONTTBL 字体列表 \b 标记后面的内容以粗体显示 \b0 标记后面的内容不以粗体显示 \i 标记后面的内容以斜体显示 \i0 标记后面的内容不以斜体显示 \ul 标记以后的内容以... 阅读全文