Set doc orientation?

Discussion in 'ASP .Net' started by Ben, Jan 5, 2004.

  1. Ben

    Ben Guest

    Hi,

    Is it possible to specify the orientation of the .doc
    file to say Landscape using the following downloading
    method?

    Response.ContentType = "application/vnd.msword;";
    Response.AddHeader ("Content-
    Disposition", "attachment;filename=Test.doc") ;
    Response.Write ("<html>");
    ....output content
    Response.End() ;

    Thanks,
    Ben
    Ben, Jan 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Wallace
    Replies:
    0
    Views:
    456
    John Wallace
    Jul 22, 2003
  2. Matt
    Replies:
    3
    Views:
    481
    Tor Iver Wilhelmsen
    Sep 17, 2004
  3. brett
    Replies:
    0
    Views:
    724
    brett
    Sep 1, 2007
  4. Erik Lindblad
    Replies:
    0
    Views:
    117
    Erik Lindblad
    Oct 14, 2010
  5. Gary
    Replies:
    1
    Views:
    139
    Bart Van der Donck
    Nov 9, 2007
Loading...

Share This Page