Home » Developing U++ » UppHub » Scatter : getDrawing !!!! help !!!!
Re: Scatter : getDrawing !!!! help !!!! [message #29022 is a reply to message #29013] |
Sat, 02 October 2010 14:05   |
 |
koldo
Messages: 3443 Registered: August 2008
|
Senior Veteran |
|
|
Hello Didier
Maybe this could serve you:
Report r;
r.NewPage();
Topic t = GetTopic("topic://MyPackage/MyReport$en-en");
String qtf = t.text;
Image image = scatter.GetImage(2);
{
DrawingDraw dw(width, height);
dw.DrawImage(0, 0, width, height, image);
QtfRichObject pict(CreateDrawingObject(dw.GetResult(), Size(width, height), Size(width, height)));
String qtfG;
String token = "[Graph]"
int pos = qtf.Find(DeQtf(token));
qtfG << qtf.Left(pos) << pict << qtf.Mid(token.GetCount());
r << qtfG;
}
The report design is done in Topic t, that contains a "[Graph]" to be replaced by the Scatter in image.
Best regards
IƱaki
|
|
|
 |
|
Scatter : getDrawing !!!! help !!!!
By: Didier on Sat, 02 October 2010 00:37
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Sat, 02 October 2010 14:05
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Sat, 02 October 2010 17:14
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Sat, 02 October 2010 21:26
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Sat, 02 October 2010 22:21
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Sat, 02 October 2010 23:48
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Sun, 03 October 2010 11:40
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Sun, 03 October 2010 12:53
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Sun, 03 October 2010 20:43
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Sun, 03 October 2010 21:03
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Mon, 04 October 2010 10:24
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Mon, 04 October 2010 23:18
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Tue, 05 October 2010 08:10
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Tue, 05 October 2010 19:03
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Tue, 05 October 2010 23:32
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Wed, 06 October 2010 22:24
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Thu, 07 October 2010 08:29
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: Didier on Thu, 07 October 2010 22:43
|
 |
|
Re: Scatter : getDrawing !!!! help !!!!
By: koldo on Fri, 08 October 2010 08:23
|
Goto Forum:
Current Time: Mon Aug 25 17:20:04 CEST 2025
Total time taken to generate the page: 0.06071 seconds
|