Now here is a table:" = 0 = 24 () Dim fileName1 As Object = "d:\a.doc" oDoc.SaveAs(fileName1, nullobj, nullobj, nullobj, nullobj, nullobj, _ nullobj, nullobj, nullobj, nullobj, nullobj, nullobj, _ nullobj, nullobj, nullobj, nullobj) oDoc.Close(nullobj, nullobj, nullobj) oWord. Dim oPara3 As .Paragraph oRng1 = (oEndOfDoc).Range oPara3 = (oRng1) = "This is a sentence of normal text. Dim oPara2 As .Paragraph Dim oRng1 As Object = (oEndOfDoc).Range ' Dim oRng As Object = _Item(oEndOfDoc).Range oPara2 = (oRng1) = "path d:" = 6 () 'Insert another paragraph. () 'Insert a paragraph at the end of the document. This is allow you to place an image in an exact place regardless of new images or text that you add to your template. Set the fill color to 'No Fill' and set the outline to 'no outline'. Dim oPara1 As .Paragraph oPara1 = (oMissing) = "Run Time Word Document Creation and Save" = 1 = 24 '24 pt spacing after paragraph. Select the text box after adding it to your template. Dim oWord As ._Application Dim oDoc As ._Document oWord = New .Application() oWord.Visible = True oDoc = (oMissing, oMissing, oMissing, oMissing) 'Insert a paragraph at the beginning of the document. Here is my code Dim nullobj As Object = Dim oMissing As Object = Dim oEndOfDoc As Object = "\endofdoc" ' \endofdoc is a predefined bookmark 'Start Word and create a new document. net appication.ġst i am creating word docment then i want to insert image in it. I am trying to put image in word docment throught.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |