Page 1 of 1

Print Chart Tilte

Posted: Wed Jul 02, 2008 7:05 am
by 14048132
Hi,

We want to print chart with our company logo.
Any codes we should do before Chart.Printer.Print.
Any suggestions would be appreciated!

Thanks

Fleming

Posted: Wed Jul 02, 2008 8:55 am
by narcis
Hi Fleming,

Yes, you can do something like that:

Code: Select all

			tChart1.Header.Transparent = false;
			tChart1.Header.Text = "					\n					\n					";
			tChart1.Header.Image = pictureBox1.Image;

Posted: Wed Jul 02, 2008 9:47 am
by 14048132
Hello,

How can I adjust the size of the image?
I want to put my image at the top/left corner and text in the center,
is it possible?

Thanks
narcis wrote:Hi Fleming,

Yes, you can do something like that:

Code: Select all

			tChart1.Header.Transparent = false;
			tChart1.Header.Text = "					\n					\n					";
			tChart1.Header.Image = pictureBox1.Image;

Posted: Wed Jul 02, 2008 9:52 am
by narcis
Hi Fleming,

In that case I recommend you to use an annotation tool for the image and use default header settings for the text.