Cyotek Forums

Source Code => Source Code => Topic started by: Deer2014 on April 22, 2021, 03:02:44 PM

Title: Starting coordinate points
Post by: Deer2014 on April 22, 2021, 03:02:44 PM
Hi Richard,

How can I set the origin (X = 0, Y = 0) starting coordinate to point to the upper left corner of the loaded image and not to the upper left corner of the ImageBox?
Is there a built-in function in ImageBox?
Can you help me?

Thanks,
Deeron
Title: Re: Starting coordinate points
Post by: Richard Moss on April 25, 2021, 12:02:18 PM
The GetOffsetPoint method can be used for this.
Title: Re: Starting coordinate points
Post by: Deer2014 on April 25, 2021, 12:43:05 PM
Thanks, Richard.