How to print a form/component from within Visual Studio

R

Robson Felix

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?
 
R

RvGrah

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
 
I

Ignacio Machin ( .NET/ C# MVP )

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

Robson Felix

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

RvGrah

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top