How to set the smooth option in previewer

TeeChart for ActiveX, COM and ASP
Post Reply
naiditsch
Newbie
Newbie
Posts: 7
Joined: Wed Sep 01, 2004 4:00 am
Location: Germany

How to set the smooth option in previewer

Post by naiditsch » Thu Jan 06, 2005 10:14 am

There is no possibility to set the smooth option in the previewer panel programmatically in the VC++ routines:

If you want to preview OpenGL graphs then you have to switch on the smooth option button on the left panel in the previewer, see the following image:

Image

How can I switch on/off this button programmatically from VC++ 6.0, I don't see any possibility, not in the CPrinter class not anywhere else, to do this in the ActiveX wrapper classes for VC++ 6.0, could this be implemented in one of the next releases ??

Thx in advance,
Michael Kuelshammer
Germany

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

Post by Pep » Fri Jan 07, 2005 10:27 am

Hi Michael,

you can by setting the AsBitmap property to try, i.e (VB code) :

Code: Select all

Private Sub Command1_Click()
With TeePreviewer1
  .Chart = Chart
  .Options.AsBitmap = True
  .ShowPreview
End With
End Sub

Post Reply