1个回答
展开全部
你的freetextbox是什么版本的?
freetextbox的菜单是可以设置的,默认好像是normal方式,不是所有的菜单都显示。
string[] fc = new string[7];
fc[0] = "宋体";
fc[1] = "楷体_GB2312";
fc[2] = "隶书";
fc[3] = "黑体";
fc[4] = "仿宋";
fc[5] = "Arial";
fc[6] = "Times New Roman";
this.FreeTextBox1.FontFacesMenuList = fc;
//this.FreeTextBox1.AutoConfigure = FreeTextBoxControls.AutoConfigure.EnableAll; //全设置,或者自己设
this.FreeTextBox1.ToolbarLayout = "ParagraphMenu,FontFacesMenu,FontSizesMenu,WordClean,InsertTable,InsertImage,Bold,Italic,Underline,StrikeThrough,SubScript,SuperScript,FontForeColorPicker,JustifyLeft,JustifyRight,JustifyCenter|SelectAll,Cut,Copy,Find,Paste,Delete;Undo,Redo,RemoveFormat";
freetextbox的菜单是可以设置的,默认好像是normal方式,不是所有的菜单都显示。
string[] fc = new string[7];
fc[0] = "宋体";
fc[1] = "楷体_GB2312";
fc[2] = "隶书";
fc[3] = "黑体";
fc[4] = "仿宋";
fc[5] = "Arial";
fc[6] = "Times New Roman";
this.FreeTextBox1.FontFacesMenuList = fc;
//this.FreeTextBox1.AutoConfigure = FreeTextBoxControls.AutoConfigure.EnableAll; //全设置,或者自己设
this.FreeTextBox1.ToolbarLayout = "ParagraphMenu,FontFacesMenu,FontSizesMenu,WordClean,InsertTable,InsertImage,Bold,Italic,Underline,StrikeThrough,SubScript,SuperScript,FontForeColorPicker,JustifyLeft,JustifyRight,JustifyCenter|SelectAll,Cut,Copy,Find,Paste,Delete;Undo,Redo,RemoveFormat";
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询