c# - How Can Format Text Inside TextBoxes In WinForms -
as know in web applications there third party libraries can use convert text box editor below :
tinymce
win forms?
how can format text inside text boxes in win forms?
mean want convert regular text boxes in form editor setting property(is possible or not?).
how can that?
public void createmyrichtextbox() { richtextbox richtextbox1 = new richtextbox(); richtextbox1.dock = dockstyle.fill; richtextbox1.loadfile("c:\\mydocument.rtf"); richtextbox1.find("text", richtextboxfinds.matchcase); richtextbox1.selectionfont = new font("verdana", 12, fontstyle.bold); richtextbox1.selectioncolor = color.red; richtextbox1.savefile("c:\\mydocument.rtf", richtextboxstreamtype.richtext); this.controls.add(richtextbox1); }
Comments
Post a Comment