Centering text vertically & horizontally on a page

Anyone know how to do this? I know how to center text within a text frame but what about a whole page. In this instance I would like to center it on a business card!
Thanks!

Windows>Align
Then Select
To: Page
And then hit the center button on the vertical and horizontal

Similar Messages

  • Centering Nodes/Text - Vertically & Horizontally

    Since JavaFX v1 was released overnight the ability to align text VERTICALLY and horizontally has been removed/changed.
    Horizontal alignment is more or less the same as there is Text.textAlignment
    Vertical alignment is now missing. In preview1 we could set and x/y for the Text and then we could also set vertical alignment on the Text: [SEE HERE|http://javafx.com/releases/preview1/docs/api/javafx.scene/javafx.scene.VerticalAlignment.html]. Just bind a translation to the middle x/y of the parent.
    Using v1 I would expect the to see "BLAH" in the middle of the scene:
    public class CenteredText extends Text {
            override var textAlignment = TextAlignment.CENTER;
            override var textOrigin = TextOrigin.TOP;  //???
            override var translateX = bind (boundsInParent.width - boundsInLocal.width) / 2 ;
            override var translateY = bind (boundsInParent.height - boundsInLocal.height) / 2 ;
    function run(){
        Stage {
            title: "BLAH"
            scene: Scene {
                width: 800
                height: 400
                content: [
                    CenteredText{
                        content: "BLAH"}
    }}Finally, this is not really a requirement of Text, all nodes should be able to align themselves in the middle of their parent.

    Hello dgrieve,
    You suggest using "parent" instead of "scene" for the general case, however, I cannot get this to work. I put the text in a Group as you mentioned, but I just get a StackOverflowError. This is using parent.boundsInLocal as well as parent.boundsInParent.
    Could you or anybody look at the following code to see what I did wrong? Thank you.
    import javafx.scene.text.Text;
    import javafx.scene.text.TextAlignment;
    import javafx.scene.text.TextOrigin;
    import javafx.scene.Scene;
    import javafx.stage.Stage;
    import javafx.scene.Group;
    public class CenteredText extends Text {
       override var textAlignment = TextAlignment.CENTER;
       override var textOrigin = TextOrigin.TOP;
    //   override var translateX = bind (scene.width - boundsInLocal.width) / 2 ;
    //   override var translateY = bind (scene.height - boundsInLocal.height) / 2 ;
       override var translateX = bind (parent.boundsInLocal.width - boundsInLocal.width) / 2 ;
       override var translateY = bind (parent.boundsInLocal.width - boundsInLocal.height) / 2 ;
    //   override var translateX = bind (parent.boundsInParent.width - boundsInLocal.width) / 2 ;
    //   override var translateY = bind (parent.boundsInParent.width - boundsInLocal.height) / 2 ;
        public function run(args : String []) : Object {
            Stage {
                title: "Vertical and Centered Text Node Example"
                scene: Scene {
                    width: 800
                    height: 400
                    content: [
                        Group {
                            content: [
                                CenteredText{
                                    content: "ONE\nTWO\nTHREE\nFOUR"
    }

  • Centering text vertically in text box

    When you open a text box how do you center the text in the middle from top to bottom(vertically), not left to right. The text starts immediately in the top left corner. I need it in the center of a predefined text box size, so that if you drew a line across the center of the box from left to right, the top half of the letters  would be above the line and the bottom half would be below the center line. In other words there should be the same distance above the words to the top edge of the text box, as to the bottom of the text box, from the center.

    Thanks for the reply. Let me start by saying I am definitely a newbie with Photoshop. So if you could explain what I should do in PS that would help. I'm using CS6 Extended. I really don't know the difference between Paragraph text and Point text, and not sure what you mean when you ask is this for an Action.
    I selected the "T" Horizontal type tool, and drew a box. Then I started typing. It looks like my selections are left align, center align, and right align. But it does not Center it in the middle of the box. The text is still at the top of the box. I have to have the box a certain size because of the project I'm working on. I'm assuming the text I'm selecting is what you are calling Paragraph Text. How do you use Point Text.
    It's basically the spine on a book cover. You place the Title and the Authors name there, but you have to make sure it fits within the spine width, and is centered in that area. Like if you were looking at the side of a book, the title/author should be centered along that spine from top to bottom.
    Thanks!

  • Centering panel boxes horizontally on a page

    Experts,
    I have a panelStretchLayout component on my page having 3 facets top, center and bottom. In the bottom facet i have to display 5 images inside a panel box such that they are aligned equiv distance from the left and right side. That is the same on the left side of the page and right side of the page (if the resolution changes - left hand border of the first image and right side border of the last image should be same) should be same and the panel boxes should start occupying space from the center of the bottom facet.
    thks
    Jdev 11.1.1.5.

    Can you try this?
            <af:panelBox text="PanelBox1" id="pb1">
              <af:panelGroupLayout layout="horizontal" id="pgl1" halign="center"
                                   styleClass="AFStretchWidth">
                <af:commandButton text="commandButton 1" id="cb1"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 2" id="cb2"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 3" id="cb3"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 4" id="cb4"
                                  styleClass="AFStretchWidth"/>
                <af:commandButton text="commandButton 5" id="cb5"
                                  styleClass="AFStretchWidth"/>
                <f:facet name="separator">
                  <af:spacer width="5" id="s1"/>
                </f:facet>
              </af:panelGroupLayout>
            </af:panelBox>Thanks,
    Navaneeth

  • Help centering text in horizontal Nav bar

    I have just built my styles for my Nav bar and i am trying to figure out how to place everything centered in the div.
    at the moment they are offset to the left. Fairly new to this.
    here is my CSS code and underneath the HTML
    Thanks so much for any help you can give me
    J
    ul.nav {
        background-color: #FFF;
        padding-left: 15px;
        border-top-width: 1px;
        border-bottom-width: 1px;
        border-top-style: solid;
        border-bottom-style: solid;
        border-bottom-color: #ababab;
        border-top-color: #afafaf;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
        text-decoration: none;
        color: #666;
        line-height: 2.5;
        display: inline-block;
        padding-right: 15px;
        padding-left: 15px;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #ababab;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
        color: #09F;
        background-color: #FFF;
    ul.nav li {
        display: inline;
    /* ~~ The footer styles ~~ */
    .footer {
        padding: 10px 0;
        background: #CCC49F;
        position: relative;/* this gives IE6 hasLayout to properly clear */
        clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ Miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the .container) if the .footer is removed or taken out of the .container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
      </div>
    <div id="navbar">
    <ul class="nav">
    <li><a href="#">Home</a></li>
    <li><a href="#">Videos</a></li>
    <li><a href="#">Articles</a>
    </li>
    <li><a href="#">Archives</a>
    <li><a href="#">Local Reporter</a>
    </li><li><a href="#">Sign up</a>
    </li><li><a href="#">Contact Us</a></li></ul>
    </div>
    Thanks again!

    ahh sorry...here you go
    ul.nav {
         background-color: #FFF;
         padding-left: 15px;
         border-top-width: 1px;
         border-bottom-width: 1px;
         border-top-style: solid;
         border-bottom-style: solid;
         border-bottom-color: #ababab;
         border-top-color: #afafaf;
         width: 960px;
         margin-right: auto;
         margin-left: auto;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
         text-decoration: none;
         color: #666;
         line-height: 2.5;
         display: inline-block;
         padding-right: 15px;
         padding-left: 15px;
         border-right-width: 1px;
         border-right-style: solid;
         border-right-color: #ababab;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
         color: #09F;
         background-color: #FFF;
    ul.nav li
    /* ~~ The footer styles ~~ */
    .footer
    .weather
    #weather sidebar1
    /* ~~ Miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
         float: right;
         margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
         float: left;
         margin-right: 8px;
    .clearfloat { /* this class can be placed on a
    or empty div as the final element following the last floated div (within the .container) if the .footer is removed or taken out of the .container */
         clear:both;
         height:0;
         font-size: 1px;
         line-height: 0px;
    #apDiv1
    -->
    </style></head>

  • Centering Text Vertically

    By default, text sits on a line underneath the letters (the black line in the image).  I'm trying to make it so that the text is center along an imaginary line through the center of the text (the red line).   So that the 'dum' to the left
    of the 'B' will be centered within the height of the 'b' and not sitting along the bottom line.  Can this be done in Word 2010?
    Picture this text size 12 point that says 'dum' and the size 24 that reads' bT' and then again 12 point that says 'ext' to read
    dumBText. 
    The BT are large and should be the center point for the smaller text around it.
    EDIT:  I cannot embed an image or links so scratch the image part.

    You could insert ADVANCE fields before & after the BT to lower, then raise, the text position by 6pt. With field codes visible (Alt-F9 toggles them on/off), your string would look like:
    dum{ADVANCE \d 6}BT{ADVANCE \u 6}ext
    with the BT in 24pt. Depending on the font you use, you might need to change the 6 in each field, which is the number of points, to a different value to get the desired effect.
    Note: The field brace pairs (ie '{ }') for the fields are created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Why are some of my pages centering themselves (vertically and horizontally) after I select the "Shrink document to avoid overwriting..." option under Add Headers and Footers?

    I'm working in Adobe Acrobat X Pro. I added header and footers through Adobe. I needed to select the "Shrink document to avoid overwriting the document's text and graphics" feature under the "Appearance Options..." option within the "Add Header and Footer" window. Some of the pages in my document that only had a few lines of text on them centered themselves (vertically and horizontally). How can I prevent that from happening?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Center text vertically in 6i

    I was wondering if there was a way to center text vertically in a text field in forms 6i.
    I have a banner at the top of my form as a text item, and I need the value(s) to be centered horizontally(which I have already done) and vertically which I am wondering how to do. Could someone please tell me how?
    TIA
    C

    It does not. It's specific to table cells, or things with the
    table-cell
    display style.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "kiusau" <[email protected]> wrote in
    message
    news:gnesja$osr$[email protected]..
    >
    quote:
    I need to center the text vertically in the div at the bottom
    of this
    > page.
    > How do I accomplish this?
    >
    > Create a single cell table inside the <div> tag
    and apply vertical
    > alignment
    > to the <tr> tag. I do not know, if vertical
    alignment works with the <p>
    > tag.
    >
    > Roddy
    >

  • Aligning text vertically

    I know how to center text horizontally within the text box in CS5 Extended (just click the same "center" icon you would click if you were using Microsoft Word or any other program), but how can I center it vertically (have it placed equidistant from the top and bottom of the text box)?  I know there must be a way.
    Thanks!

    I think the question has to do with text arranged vertically, rather than text that is centered on a vertical line dividing the cell.
    The example in column A is available in cells in Pages Tables. But of a kludge, though, as its achieved by inserting a return (option-return if you're typing it in the cell) after each character in the string.
    The example in column B is made by entering the text into a text box, then rotating the box using the Metrics Inspector, aand placing it in front of the cell where it is to appear.
    The example in column C has been horizontally centered in the cell using the alignment button on the format bar. There is also an alignment button in that bar to center the text vertically in the cell, but I hadn't used it before capturing the screen shot. This text also has an option return inserted after each of the first two words.
    Regards,
    Barry

  • Centering text/object indepndently

    Hello. I am using a Pages template called Formal Invitation. I am trying to center both text and an object in each of the four squares of the page (the text is the same but each object has different dimensions). Each object/text needs to be centered with itself but NOT with the other three squares of the page. IT seems as if the alignment guides try to align up everything with each other, instead of just the object/text on its own quarter page. Is there any way to align text/object both horizontally and vertically on the QUARTER page, regardless of the stuff on the other parts of the page?
    I hope I've explained this correctly - I'm new and I probably don't have the lingo quite right.
    Thanks in advance.
    JRS

    Hi John,
    Take a look at Help for: Changing How Alignment Guides Appear
    Also: Creating New Alignment Guides
    These give a pretty complete lesson on using the guides.
    What I can't explain is how the shading representing the page is proportioned. I'd suggest relying on the rulers rather than the shaded areas.
    I would add guides bisecting the quarter pages if I had your project, but that's a personal preference.
    Jerry

  • How to display TEXT vertically in SMART FORM

    Hai,
    I need to display the column name of a table vertically (readable from bottom to top) in smart form.
    Could any one please tell me how to do this?
    Thanks & Best Regards,
    Maniyam Bhaskar.

    Hi,
    Go through these threads for the discussions happened on similar issue... hope it helps you..
    how to print text vertically in smart forms
    vertical and horizontal printing in same page with smartforms or sapscript
    Good luck
    Narin

  • REP-3131: Parameter form boilerplate text cannot fit on the page

    Dear members,
    I am getting the following error while running the report :
    REP-3131: Parameter form boilerplate text cannot fit on the page
    can any body tell me how to correct it. I need to add a extra field in the standard oracle report "RECEIPT TRAVELER". when i was trying to run it in report builder 6i i got the above mentioned error. please give ur quick replies.
    thanks
    regards
    sandeep

    When you add your new field into the parameter mask, please check, if the value is too
    long for your parameter mask site. Make a double click on the master attributes of your
    report in the object navigator and look at the size of the parameter mask window.
    Make it bigger, if you want (vertically und horizontally size).
    Check the length of the text of your parameter mask title, too.

  • Centering a Div Horizontally

    Hello,
    I need help centering a div horizontally with CSS.  What I'm trying to do is get this box that will contain text to center on the page and then I will expand it's width to match the image right above it, to fit the design.
    Here is my code (i made the code of the div that I want to center within the document bold):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="description" content="Lorentz Painting Co.: Pristine, Precise and Professional" />
    <meta name="keywords" content="Maciej Lorenz, paint, high quality, interior, exterior, co., painting, professional, New England, Vermont, Nassachussetts, Boston, New York New Hampshire, New England" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>The Nantucket Gift Basket Company</title>
    <link href="stylesMain.css" rel="stylesheet" type="text/css" />
    <!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="PNGfix.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <style type="text/css">
    #hornav ul li { padding: 0 0 0 10px; }
    </style>
    <![endif]-->
    <!--[if lte IE 6]>
    <style type="text/css">
    #wrapper-body, #wrapper-1, #wrapper-2, #wrapper-3 { height: 1%; }
    </style>
    <![endif]-->
    <script type="text/javascript" src="scripts.js"></script>
    <style type="text/css">
    #apDiv1 {
        position:absolute;
        width:1844px;
        height:43px;
        z-index:1;
        left: 64px;
        top: 253px;
    body {
        background-color: #FFF;
        background-image: url(shingles1.jpg);
        background-repeat: repeat;
    a:link {
        text-decoration: none;
        color: #FFF;
    a:visited {
        text-decoration: none;
        color: #FFF;
    a:hover {
        text-decoration: none;
        color: #FF0;
    a:active {
        text-decoration: none;
        color: #FF0;
    </style>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-3119473-5']);
      _gaq.push(['_setDomainName', 'none']);
      _gaq.push(['_setAllowLinker', true]);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-3119473-6']);
      _gaq.push(['_setDomainName', 'none']);
      _gaq.push(['_setAllowLinker', true]);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-3119473-7']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </head>
    <body>
    <div id="wrapper-1">
      <div id="branding">
        <h1><img src="Nantucket Products_editedsmaller.jpg" width="482" height="326" /></h1>
            <p> </p>
            <div id="content-2">
          <div class="content-wrap">
            <p> </p>
            <p>ddddddddddddddddddddddddddddddddddddddddddddd</p>
            <p> </p>
          </div>
        </div>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <h1>  </h1>
        <div id="wrapper-2">
          <div id="wrapper-3">
            <div id="content-bottom"></div>
          </div>
          <div id="footer">
            <p> </p>
            <p><a href="index.php" title="Lorentz Painting; Why us? We are the best and most affordable painting company in New England, MA, NH, NY, VT, CT, ME and etc.">Home</a> - <a href="gift_baskets.php" title="Lorentz Painting Co.: Products &amp; Services; nothing but the finest painting products that can be found in the market., New England, VT, NH, MA, NY, CT, ME">Gift Baskets</a> - <a href="contact.php" title="Contact Lorentz Painting Co. Today for the best painting value in New England, VT, NH, MA, NY, CT">Contact</a></p>
    <p><strong><a href="sitemap.html" title="Site Map of Lorentz Painting Co. the most professional and highest quality painting company in New England, VT, NY, NH, MA, ME, CT">The Nantucket Gift Basket  Co., 2011</a></strong></p>
            <p><strong><a href="http://cwws.org" title="Common Wealth Web Solutions" target="_new">Designed by CWWS</a></strong>      </p>
            <p> </p>
          </div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    swfobject.registerObject("Lorentz Painting Co.: The best value in painting in New England, NY, VT, NH, MA, ME, CT.  A professional company that produces high quality results.");
    swfobject.registerObject("Lorentz Painting Co.: The most Pristine, Precise and Professional Painting Company in New England, NY, VT, NH, MA, ME, CT.");
    swfobject.registerObject("Lorentz Painting Co.: High Quality painting at an affordable price.  Serving New England, NY, VT, NH, MA, ME, CT.");
    </script>
    </body>
    </html>

    Thank you guys for bringing me good advice/info, I attempt to put it to use tonight and I will get back to you and let you know how it goes.
    Thanks!
    Date: Tue, 7 Jun 2011 21:39:44 -0600
    From: [email protected]
    To: [email protected]
    Subject: Centering a Div Horizontally
    Have a look at the following simplified example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    html {
         height: 100%;
         background: #CCC;
    body {
         width: 960px;
         margin: auto;
         background: #FCF;
         height: 100%
    h1 {
         margin: 1.5em 20px;
    #header {
         width: 482px;
         margin: auto;
         height: 326px;
         background: #FF9;
         text-align: center;
    </style>
    </head>
    <body>
    <div id="header">
    <p>this is the space for your image</p>
    </div>
    h1. This can be a header
    </body>
    </html>
    Notice how, with a block element, the width is set to a value combined with a margin set to auto. This principle can be used for any block element including BODY
    The idea is to keep it simple
    Gramps
    >

  • How to autoresize text area horizontally?

    I want to resize text area horizontally when user enter text into it.
    I know how to do resize vertically.
    Any idea how to resize horizontally?

    What sort of text is it? Annotation, page contents, annotation?
    (It would be good if someone could move this to the Acrobat SDK forum)

  • How to add text vertically into a Word margin with C# (using namespace: Microsoft.Office.Interop.Word)

    I need to add text vertically in a word document outside the margins.  How can I do this with Microsoft.Office.Interop.Word and C#?
    Leonard Swarczinski Software Developer Postal Center International

    Hi Leonard,
    According to your description, do you want to add text vertically into Page Header/Footer? I wrote a sample  for you.
    using Microsoft.Office.Core;
    using Microsoft.Office.Interop.Word;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace AddTextToWord
    class Program
    static void Main(string[] args)
    CreateNewDocument();
    Console.ReadLine();
    private static void CreateNewDocument()
    Object oMissing = System.Reflection.Missing.Value;
    Microsoft.Office.Interop.Word.Application oWord;
    Microsoft.Office.Interop.Word.Document oDoc;
    oWord = new Microsoft.Office.Interop.Word.Application();
    oWord.Visible = true;
    oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
    String HeaderText = "Hello everyone!";
    WdParagraphAlignment wdAlign = WdParagraphAlignment.wdAlignParagraphCenter;
    AddHeader1(oWord, HeaderText, wdAlign);
    private static void AddHeader1(Application WordApp, string HeaderText, WdParagraphAlignment wdAlign)
    Object oMissing = System.Reflection.Missing.Value;
    WordApp.ActiveWindow.View.Type = WdViewType.wdOutlineView;
    WordApp.ActiveWindow.View.SeekView = WdSeekView.wdSeekPrimaryHeader;
    Microsoft.Office.Interop.Word.Shape textBox = WordApp.ActiveDocument.Shapes.AddTextbox(MsoTextOrientation.msoTextOrientationVertical, 150, 10, 40, 40);
    textBox.TextFrame.TextRange.Text = HeaderText;
    WordApp.ActiveWindow.View.SeekView = WdSeekView.wdSeekMainDocument;
    If I misunderstood or anything wrong, please let me know and you can get more information from below articles.
    Office development in Visual Studio
    http://msdn.microsoft.com/en-us/office/hh133430.aspx
    Abhout: AddTextbox Method
    http://msdn.microsoft.com/en-us/library/office/aa171543(v=office.11).aspx
    How to: Programmatically Insert Text into Word Documents
    http://msdn.microsoft.com/en-us/library/vstudio/6b9478cs.aspx

Maybe you are looking for