Setting Print Smoothing in code

TeeChart for ActiveX, COM and ASP
Post Reply
Scott
Newbie
Newbie
Posts: 1
Joined: Mon Dec 22, 2003 5:00 am
Location: Phoenix, AZ
Contact:

Setting Print Smoothing in code

Post by Scott » Thu Jun 16, 2005 5:35 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jun 20, 2005 2:46 pm

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

Post Reply