Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I print a NiGraph3D object in Visual C++ Document/View Architecture

Could you provide me with an example to print a NiGraph3D object in Visual C++ Document/View Architecture.
 
I have no problem viewing the graph.
 
Thank You
0 Kudos
Message 1 of 2
(3,211 Views)
Hi jtman,

Since you have placed a graph on your form, I am assuming that you are using the CFormView base class for your application.  This class does not natively allow printing.  The only class that does allow printing is the CView class, however, you could not view your graph here.  There are several websites that discuss ways that you can override printing in the CFormClass.  On Microsoft's website, you can learn more about this class and see that they also suggest overriding the Print functions.  Take a look at step 6 on  this knowledgebase..  Also, I searched google for information on how to actually override the print function and I found these entries here and here

Printing the form should be the same whether or not you are using Measurement Studio.  I am sorry that we do not have an example of printing but these websites should help.


Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments
Message 2 of 2
(3,201 Views)