Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem With LandScape Property Of PrintDocument

Problem With LandScape Property Of PrintDocument

Scheduled Pinned Locked Moved C#
help
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mohammadSoft
    wrote on last edited by
    #1

    Hi I'm Using LandScape Property Of PrintDocument by this code :

        void printDocument\_PrintPage(object sender, PrintPageEventArgs e)
        {
            e.PageSettings.Landscape = true;
        }
    

    all page is LandScape except First Page that in not LandScape !!!!

    W 1 Reply Last reply
    0
    • M mohammadSoft

      Hi I'm Using LandScape Property Of PrintDocument by this code :

          void printDocument\_PrintPage(object sender, PrintPageEventArgs e)
          {
              e.PageSettings.Landscape = true;
          }
      

      all page is LandScape except First Page that in not LandScape !!!!

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Could you set the PrintDocument.DefaultPageSettings.Landscape to true, before you start printing.

      The need to optimize rises from a bad design. My articles[^]

      M 1 Reply Last reply
      0
      • W Wendelius

        Could you set the PrintDocument.DefaultPageSettings.Landscape to true, before you start printing.

        The need to optimize rises from a bad design. My articles[^]

        M Offline
        M Offline
        mohammadSoft
        wrote on last edited by
        #3

        Thaaaaaaaanks

        W 1 Reply Last reply
        0
        • M mohammadSoft

          Thaaaaaaaanks

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          No problem.

          The need to optimize rises from a bad design. My articles[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups