There are several ways you could do this.
- Insert a content control where you want the value to appear and map it to a custom xml part. You then write the value to the xml.
- Write the value to a document variable and insert a DocVariable field where you want it to appear.
- Mark the location in the document with a bookmark and write the value to the bookmarked location.