ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  DrawArea Cut
Posted by Drazana on Aug-18-2017 18:21
Hello,

is it possible to mark one Section in DrawArea and then to load that Section into another DrawArea?

Thanks,
Drazana

  Re: DrawArea Cut
Posted by Peter Kwan on Aug-18-2017 21:20
Hi Drazana,

One method I can think of is as follows:

(a) Save the DrawArea as an image file.

(b) Create a new DrawArea and set it to the size you want.

(c) Use the image file to create a pattern color (see DrawArea.patternColor2), and draw a rectangle using that pattern color.

Because you can control the "pattern offset" in the pattern color, and you can control the size of the rectangle, so you can copy a rectangle part of one DrawArea to another.

Regards
Peter Kwan