Print
Print the page.
BOOL Print( TreeNode & tn )
Returns TRUE on success and FALSE on failure.
EX1
void PageBase_Print_ex1() { GraphPage gp = Project.GraphPages(0); // Page to print if( gp ) { Tree tree; tree.Printing.PrinterName.strVal = "Canon Bubble-Jet BJC-2000"; // Ignore default printer, use Canon instead tree.Printing.NumberOfCopies.nVal = 2; // Print 2 copies tree.Printing.DPI.nVal = 300; // Resolution 300 dpi BOOL bResult = gp.Print(tree); } }
origin.h