PDA

View Full Version : exporting graphs ro pdf file



vinaysagar
10th October 2014, 13:32
hello
i have a code which print the graph as it is in pdf format. But i need to print additional data in the pdf report along with the graph, if not atleast graph should be exported to the other report which has some data printed on it.

anda_skoa
10th October 2014, 14:29
Since you provide no input what so ever on how you are creating the PDF, I will assume either QPdfWriter or QPrinter.

Both are QPaintDevice implementations, so you can draw anything onto them using QPainter.

Cheers,
_