Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
925
WordDocumentWriter not available
posted

I am trying to use the WordDocumentWriter.  I am struggling to understand why the control is not available .  How can I add the reference.  I see it as if it is added, but I can not see the control in my Toolbox..

 

Imports Infragistics.Win.UltraWinGrid
Imports Infragistics.Win.Layout
Imports Infragistics.Win.UltraWinGrid.WordWriter
Imports System.Text.RegularExpressions
Imports Infragistics.Documents.Excel
Imports Infragistics.Documents.IO '' This gives an green line error
.
.
Dim wordDocWriter As WordDocumentWriter = WordDocumentWriter.Create("C:\Samples_Projects\GridDataInWord.docx")
wordDocWriter.StartDocument()
wordDocWriter.StartParagraph()
Dim font As Infragistics.Documents.Word.Font = wordDocWriter.CreateFont()
font.Bold = True
font.Underline = Underline.Thick
font.ForeColor = Color.Red