?
Solved

Printing a scrolled program..

Posted on 1998-08-10
6
Medium Priority
?
157 Views
Last Modified: 2010-04-04
Hello there.

I want to print a screen-capture objects that sits inside a scroll-box. I can take the forum's Canvas, and take the rectangle of the scrollbox, but if not all the object is being shown in the box, I need to access it somehow else.

any solution ?
thanks.
0
Comment
Question by:semuel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1361807
can't you just print the canvas of the scrollbox?
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1361808
Try control's PaintTo:

<control>.PaintTo(Printer.Handle, 0, 0)
0
 
LVL 1

Author Comment

by:semuel
ID: 1361809
ZifNab,
according to Delphi's help, Tscrollbox does not have a Canves propety.

Matvey,
and this will write the hole surface to the printer ?
how do he knows then to paint only a part ?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Expert Comment

by:Matvey
ID: 1361810
-What do you mean only a part? If it's bigger then the printer page, it'll be cropped. If you want to stretch it, than paint it first on a bitmap, and then stretch it to the printer page - better with something like StretchDIBits...
0
 
LVL 1

Author Comment

by:semuel
ID: 1361811
Please place it as an answer, so I can thanks...  :-)
0
 
LVL 3

Accepted Solution

by:
Matvey earned 400 total points
ID: 1361812
It really works? I'm curious what control it is? Please try it and make sure it works, OK?

All the best, --Matvey
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question