Search found 2 matches

by MaximeMangin
10 Jun 2020, 11:27
Forum: CAD .NET
Topic: Centering image to a given point and rotating it around that point
Replies: 2
Views: 2719

Re: Centering image to a given point and rotating it around that point

Hi,
Unfortunately i'm using the ImportDemo so i'm not using CadEntity and ImageRectangleF is read only in this demo.

Regards
by MaximeMangin
07 Jun 2020, 17:11
Forum: CAD .NET
Topic: Centering image to a given point and rotating it around that point
Replies: 2
Views: 2719

Centering image to a given point and rotating it around that point

Hi, My goal is to center the CadPictBox to a certain cad point given by the user and then rotate it by a given angle. I have to use visibleArea in order to keep the initial ratio. My problem is that i don't know which method to use in order to make sure that the cadImage.GetPoint() function will giv...