Home > Back-end >  Teechart control print and store the image problem
Teechart control print and store the image problem

Time:10-11

I placed on an interface 5 Teechart controls: Tchart (0) ~ Tchart (4), the Tchart (1) ~ Tchart (4) from left to right and emissions, drawing shows several different Tchart curve respectively, and the Tchart (0) as the Tchart (1) ~ Tchart (4) the figure head, on the top, as a container, put a few Picture controls inside (display curve name, unit, signals minimum and maximum values, etc.), the question now is:
1, the application code TChart (I) Printer. PrintPartial 0, 0, TChart (I). The Printer. PageWidth, TChart (I). The Printer. PageHeight * (TChart (I). The Height/Me. Height)
When i> Can be print the TChart respectively 0, the control of the curve, but when I=0, print the TChart (0) is empty, namely can't print the TChart (0) on a few Picture control content, in other words, can only be created through print TChart content, can't print the contents of the container,
2, when storing the TChart image file for (I), also appeared the same problem, the TChart ~ TChart (1) and (4) draw the curve can be stored, but the TChart (0) is empty, namely cannot store TChart few Picture controls (0), the content of the
3, the above can only be every Tchart (I) print and are stored separately, they can not be printed on a piece of paper or at the same time stored in a file,
Consult how to solve these problems? In this first thank you master!!
  • Related