How to print a form/component from within Visual Studio

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robson Felix

    How to print a form/component from within Visual Studio

    It may sound like a silly question, but I would like to print a form or
    component from within Visual Studio when designing such form component. Is
    that possible?


  • RvGrah

    #2
    Re: How to print a form/component from within Visual Studio

    How to print any graphical element on your screen (Vista example);

    keyboard: Alt + Print Screen (copies current window to clipboard)
    Start Button
    Keyboard "p", "a", "i" if necessary (brings Paint to the top of the
    programs list)
    Enter Key (opens Paint)
    Ctl + V (pastes screen grab)
    Esc key (release selection)
    Mouse... Select the rectangle you want to print (optional)
    Keyboard Alt + I (image menu) ... R (crop)
    Ctl + P (Print)

    This little routine I use often for any number of reasons when I want
    to print or save part of my screen or a window. It's all keyboard
    except for the selecting of what you want to print, and you can get
    rid of that part if you do it while the program is running rather than
    in the dev ide. With a few minutes practice you can do it in a couple
    of seconds and it's extremely versatile.

    My apologies if this seems like an oblique or obvious answer to your
    question, it's just a habit I find extremenly useful.

    Bob

    On May 8, 7:31 am, "Robson Felix" <rob...@robsonf elix.comwrote:
    It may sound like a silly question, but I would like to print a form or
    component from within Visual Studio when designing such form component. Is
    that possible?

    Comment

    • Ignacio Machin ( .NET/ C# MVP )

      #3
      Re: How to print a form/component from within Visual Studio

      On May 8, 10:31 am, "Robson Felix" <rob...@robsonf elix.comwrote:
      It may sound like a silly question, but I would like to print a form or
      component from within Visual Studio when designing such form component. Is
      that possible?
      Hi,

      I do not think you can do it directly from the IDE (nor that I have
      tried though). I assume that you tried Ctrl+P before posting right? :)

      You can capture the screen, paste it in paint and then clip the
      section you want and just print that.

      Comment

      • Robson Felix

        #4
        Re: How to print a form/component from within Visual Studio

        Guys,

        I really meant print (CTRL-P) or something else. Of course I know how to
        copy & paste the current screen (or current window) into any graphical
        application. That's not what I meant.


        "Robson Felix" <robson@robsonf elix.comwrote in message
        news:%23g75liRs IHA.672@TK2MSFT NGP02.phx.gbl.. .
        It may sound like a silly question, but I would like to print a form or
        component from within Visual Studio when designing such form component. Is
        that possible?
        >
        >

        Comment

        • RvGrah

          #5
          Re: How to print a form/component from within Visual Studio

          Apologies again, I did understand what you were asking. I was merely
          pointing out that, for a reasonably fast typist, you can pretty much
          memorize a keyboard sequence that allows you to print or save pretty
          much anything without much effort at all and little or no mouse
          interaction. *Most* developers are certainly aware of screen grabbing
          and pasting but many have not paused to realize how quickly and simply
          it can be done in Vista. Yes, I know it's five keystrokes instead of
          one, but it's what we've got right now and it can be done in about 2
          seconds.

          Bob

          On May 8, 3:07 pm, "Robson Felix" <rob...@robsonf elix.comwrote:
          Guys,
          >
          I really meant print (CTRL-P) or something else. Of course I know how to
          copy & paste the current screen (or current window) into any graphical
          application. That's not what I meant.
          >
          "Robson Felix" <rob...@robsonf elix.comwrote in message
          >
          news:%23g75liRs IHA.672@TK2MSFT NGP02.phx.gbl.. .
          >
          It may sound like a silly question, but I would like to print a form or
          component from within Visual Studio when designing such form component. Is
          that possible?

          Comment

          Working...