IonicWind Software

IWBasic => General Questions => Topic started by: Brian on January 12, 2007, 09:15:58 AM

Title: Selection area
Post by: Brian on January 12, 2007, 09:15:58 AM
Hi,

After displaying a picture, I want to set a selection area (dotted line, etc) to a predefined
size, and then crop the picture to that size, or make sure that the picture prints only the
define area

Anybody got any starter code, or indeed where I should start?

Thanks,

Brian
Title: Re: Selection area
Post by: LarryMc on January 12, 2007, 10:13:21 AM
You can find a complete application with all the source code in IBPro that demonstrates what you're looking for at
http://www.codingmonkeys.com/index.php?action=tpmod;dl=get31 (http://www.codingmonkeys.com/index.php?action=tpmod;dl=get31)
Title: Re: Selection area
Post by: Ionic Wind Support Team on January 12, 2007, 12:36:29 PM
draw.eba has a simple example of selection.

If you don't mind looking at an Aurora example CPrintWindow.src lets you load a bitmap and position it anywhere on a page for printing.
Title: Re: Selection area
Post by: Brian on January 15, 2007, 02:50:10 AM
Thanks, Larry and Paul,

I downloaded Larry's example, and couldn't get it to compile

I'll have a look at Paul's suggestion

Brian