April 27, 2024, 07:19:49 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Selection area

Started by Brian, January 12, 2007, 09:15:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

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

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

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.
Ionic Wind Support Team

Brian

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