Solved

Printing an image on a report

Posted on 2004-04-19
3
183 Views
Last Modified: 2010-04-24
am trying to print an image on a report at the top. The only thing that i have found out so far is that you have to use a bitmap. Can you use another image type like jpeg?

This is what I have so far: Dim imgSeal As Image = Image.FromFile("C:\Seal.bmp")

Now I want to have the image centered on the top of the page and I want it to be scaled to a size of Width: 1.5 and Height 1.46. How do I code this to print it the way that I need it?

Thanks, Chester
0
Comment
Question by:cpopham
3 Comments
 

Author Comment

by:cpopham
ID: 10879104
I got it.  I just put the picture in an invisible picture box on the form and then told it to draw the image.

Chester
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 11130981
PAQed, with points refunded (35)

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

766 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