Page 1 of 1

Setting Print Smoothing in code

Posted: Thu Jun 16, 2005 5:35 pm
by 9080334
With v7, when doing a print, the print dialog displays a new check box for Smooth; is there a way to set this within the code so that when the print dialog is invoked, the Smooth checkbox is automatically checked?

Thanks,
Scott Small

Posted: Mon Jun 20, 2005 2:46 pm
by Pep
Hi Scott,

yes, you must place a TeePreveiwer component into the Form and use the following code :

Code: Select all

With TeePreviewer1
.Chart = TChart1
.Options.AsBitmap = True
.ShowPreview
End With