Page 1 of 1

How to set the smooth option in previewer

Posted: Thu Jan 06, 2005 10:14 am
by 9523803
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

Posted: Fri Jan 07, 2005 10:27 am
by Pep
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