asp.net - Changing Text In Document Created By Webform -


so have weird problem caused lack of knowledge of how 2013 vs works, because of lack of thorough documentation on subject.

i trying take document generated employment application form made, , format text on document doesn't make hr want tear out eye balls, run road block every time.

my favorite road block paragraphs.

dim rng word.range = me.paragraphs(1).range 

every time try use error saying paragraphs not member of of webform. pretty sure because not importing right references in document. here ones using:

imports system.web.providers.entities imports microsoft.office.interop imports system.windows.documents imports system.io imports system.drawing 

then tried changing font directly using:

richtextbox1.font = new font(fontname.text, 10, fontstyle.regular) 

but error saying richtextbox1 not declared. when try change font of:

lastnamebox.font = new font(fontname.text, 10, fontstyle.regular) 

it of course tells me font read only. have been searching on google , these forums days trying find solution, , sure it's simple not having right references or imports setup. can help?


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -