Search found 43 matches

by roman
31 Jan 2017, 09:08
Forum: CAD .NET
Topic: Drawing and moving the image
Replies: 3
Views: 23952

Re: Drawing and moving the image

Hello,

still no answer?
by roman
30 Nov 2016, 09:41
Forum: CAD .NET
Topic: Drawing and moving the image
Replies: 3
Views: 23952

Re: Drawing and moving the image

Hello Mikhail, I didn't find the EntitiesCreator.Disable method where you mentioned, but after some research inside the CADEditor I found the code I postet at the bottom of this post (taken form CadEditorDemo) Inside the method below i found this part. if ((!this.clipRectangle.Enabled) && (!this.Cre...
by roman
25 Nov 2016, 16:48
Forum: CAD .NET
Topic: Drawing and moving the image
Replies: 3
Views: 23952

Drawing and moving the image

Hello, I'd need to implement the following task: A User draws on an large image (red). The Image is zoomed (black) and the user wants to draw a polyline(blue) which is started inside the clip rectangle with the given zoom, but the end is outside the visible area. The user needs to move the clip rect...
by roman
02 Nov 2016, 15:12
Forum: CAD .NET
Topic: Fonts
Replies: 2
Views: 18405

Re: Fonts

Thank you, got it working now.
by roman
14 Sep 2016, 12:26
Forum: CAD .NET
Topic: Fonts
Replies: 2
Views: 18405

Fonts

Hello, I should change the font added programmatically, but I always get the same output. I'd need a font whicht is very sharp when printed. Here is my code how I add text: var mText = new CADMText { Style = new CADStyle() { FontName = "Verdana", Color = Color.Black, Converter = cadEditorControl.Ima...
by roman
16 Aug 2016, 11:44
Forum: CAD .NET
Topic: Grouping Objects
Replies: 1
Views: 16400

Grouping Objects

Hello,

is it possible to group entities when added programmatically, so that all entities within the group are treated as one entity? (I'd need to add electric symbols)
Do you habe some sample code?

thank you
Roman
by roman
11 Jul 2016, 15:30
Forum: CAD .NET
Topic: Printing
Replies: 4
Views: 25291

Re: Printing

Hi,

I just upgraded to the CADEditorControl V11. This seems to work!

Thank you!
by roman
11 Jul 2016, 15:12
Forum: CAD .NET
Topic: Printing
Replies: 4
Views: 25291

Re: Printing

Hello,
the version is 10.2.20.51120

best regards,
Roman
by roman
07 Jul 2016, 15:06
Forum: CAD .NET
Topic: Logging?
Replies: 8
Views: 46796

Re: Logging?

Hello, I found the cause of the exception: the following code falied selecting the thext protected ulong AddText(string text, DPoint pos, Color color, double height, float rotation) { var cadText = new CADText(); cadText.Color = color; cadText.Point = pos; cadText.Height = height; cadText.Angle = ro...
by roman
07 Jul 2016, 11:39
Forum: CAD .NET
Topic: Printing
Replies: 4
Views: 25291

Printing

Hello, the following Code prints the selected part of an image (best is a rectangle). Printing works good, but the CadImage in the CADEditorControl is deformed after saving the image to the stream. (The size and position of the original image changes, so the display is not correct anymore) Everythin...
by roman
06 Jul 2016, 09:09
Forum: CAD .NET
Topic: save
Replies: 1
Views: 13214

save

Hello, it is possible to draw on a CADRasterImage but it seems not to be possible to save the drawing. Is there any possiblity to save the CadRasterImage. We need to load / save the image as "project" so the customer can save the work and then continue. (All CADEntities and Images must be on the sam...
by roman
06 Jul 2016, 08:53
Forum: CAD .NET
Topic: rotate an entity
Replies: 6
Views: 31833

Re: rotate an entity

Perfect, thank you. If anyone needs a implementation for rotation with mouse here is my implementation with your code, also for the CADEditorControlDemo : #region rotate private Point dragStart; private DPoint center; /// <summary> /// click handler for rotate /// selects all entities inside the sel...
by roman
05 Jul 2016, 12:04
Forum: CAD .NET
Topic: Logging?
Replies: 8
Views: 46796

Re: Logging?

Hello,

could you reproduce my issue? Do you have any idea what causes the error?

thank you
Roman
by roman
05 Jul 2016, 12:03
Forum: CAD .NET
Topic: rotate an entity
Replies: 6
Views: 31833

Re: rotate an entity

Hello, works perfect, thank you. One further question, is it possible to select multiple enities and rotate them together? I have a rectangle (Poly) and I select all containing Elements: img.MultipleSelect(selected.Box, false, true); If there is a text inside the box, can I rotate the text like the ...
by roman
29 Jun 2016, 10:29
Forum: CAD .NET
Topic: rotate an entity
Replies: 6
Views: 31833

Re: rotate an entity

Hi, I added the following mehtod in the edtorContolDemo (called by an context menu item). the rotation seems to work perfectly, but the previously selected item is (dotted) still shown as before, clicking on the item the edge - points are on the new position, but the dawing is only updated after i m...