这是一段给rtf字体改变大小的代码,现在本人需要一段代码来改变表格的宽度来随着字体的大小变化而变化
count = this.printableRtf1.SelectionLength;
for (int i = 0; i < count; i++)
{
try
{
this.printableRtf1.Select(i, 1);
if (this.printableRtf1.SelectionFont == null)
this.printableRtf1.SelectionFont = new Font(System.Drawing.FontFamily.GenericSerif, 18F);
else
this.printableRtf1.SelectionFont = new Font(this.printableRtf1.SelectionFont.FontFamily, 18F, this.printableRtf1.SelectionFont.Style, GraphicsUnit.Point);
}
catch (Exception ex)
{
}
}
生成后把字体变大但是表格却错位
解决方案
100
LZ,rtf怎么做表格的啊?
可以给本人提供点源码么?
可以给本人提供点源码么?