How can i extract the formated word(bold,italic,underline,font,color etc) from the msword file.

Showing Answers 1 - 1 of 1 Answers

sarika

  • Jul 27th, 2006
 

using CommonDialog class

eg:

the code to invoke the default font dialog box by using the FontDialog control is given below:

private sub displayfont_click(byval sender as system.object,byval e as system.eventargs) handles displayfont.click

fontdialog.showDialog()

textbox1.font=fontdialog1.font

end sub

the code to invoke the default font dialog box by instantiating the fontdialog class is:

dim fdialog as new fontdialog()

private sub displayfont_click(byval sender as system.object,byval e as system.eventargs) handles displayfont.click

fdialog.showDialog()

textbox1.font=fontdialog1.font

end sub

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions