Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Adding a text box in a scatterDraw/ScatterCtrl
Re: Adding a text box in a scatterDraw/ScatterCtrl [message #48105 is a reply to message #48104] Wed, 17 May 2017 17:43 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
In my class I have a method Preview (I think I copied it from the ScattrCtrl_demo) as follows:

void OeeReport::Preview()
{
	Report r;

	r.Landscape();
	Size pageSize = r.GetPageSize();
	Drawing drw = scOee.GetDrawing();
	r.DrawDrawing(0, 0, pageSize.cx, pageSize.cy, drw);

	Perform(r);
}


scOee is the ScatterCtrl in the graphical interface (the .lay file) where my report is.

Regards,
Gio
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I use Input method(IM,IME) with Ultimate++?
Next Topic: Save sccatterCtrl to png: resolution
Goto Forum:
  


Current Time: Thu May 02 21:16:13 CEST 2024

Total time taken to generate the page: 0.08699 seconds