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
560
alegar010
posted

I make a document docx

Dim wordWriter As WordDocumentWriter = WordDocumentWriter.Create(documentName)

wordWriter.StartDocument()

wordWriter.StartParagraph()

' Export UltraFormattedTextEditor to Word

Me.UltraFormattedTextWordWriter1.Export(Texto, wordWriter)

 

wordWriter.EndParagraph()

wordWriter.EndDocument()

' Close the writer

wordWriter.Close()

***************************

I want to put in foot of page number of page

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    There's a sample installed with the suite that demonstrates how to do page numbers using the WordDocumentWriter. If you chose to install the sample when you installed the product, you can find it under your installation folder under a subfolder something like this:

    2016.2\Samples\Legacy\Documents\CS\Word Streamer Object

    This sample demonstrates a number of different things you can do with the WordDocumentWriter. The button you want is in the lower left corner and demonstrates headers, footers, and page numbers.