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. Advertisements

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:
    714
    John Wallace
    Jul 22, 2003
  2. Matt
    Replies:
    3
    Views:
    757
    Tor Iver Wilhelmsen
    Sep 17, 2004
  3. Praveen Chhangani

    Converting a org.jdom DOC to org.w3c DOC

    Praveen Chhangani, Aug 5, 2003, in forum: XML
    Replies:
    2
    Views:
    1,265
    Johannes Koch
    Aug 7, 2003
  4. brett
    Replies:
    0
    Views:
    1,021
    brett
    Sep 1, 2007
  5. News123
    Replies:
    0
    Views:
    509
    News123
    Feb 6, 2010
  6. Replies:
    0
    Views:
    296
  7. Erik Lindblad
    Replies:
    0
    Views:
    171
    Erik Lindblad
    Oct 14, 2010
  8. Gary
    Replies:
    1
    Views:
    289
    Bart Van der Donck
    Nov 9, 2007
Loading...