Search found 6 matches

by fmonteiro
17 Apr 2014, 13:24
Forum: CAD .NET
Topic: Arc Entity Creation
Replies: 1
Views: 13891

Arc Entity Creation

i am using the EditorDemo and now i am trying to implement the Arc button.i did not understand about the value of Arc. For example line have value Line{3} and you assign the value of 2 to the addentity Case CreatorType.Line If (tmpVal <> 2) Then Me.addEntity = 2 End If Exit Select but in my case i g...
by fmonteiro
16 Apr 2014, 16:38
Forum: CAD .NET
Topic: Entity Creater Issue
Replies: 0
Views: 31374

Entity Creater Issue

Adding a line into the CadImageFlg (with the mouse) I have to make two clicks. The cadPictBox_MouseDown event records the two points for the line creation. As you can see in the image I put a variable to detect the second mouse_down so I could check when the Entity is added to the CurrentLayout.Enti...
by fmonteiro
14 Apr 2014, 17:51
Forum: CAD .NET
Topic: Create Entity in runtime Layers
Replies: 1
Views: 13040

Create Entity in runtime Layers

If I create a line it comes in the default layer. Dim xLine As New CADLine xLine.Point = New DPoint(10, 10, 0) xLine.Point1 = New DPoint(20, 20, 0) xLine.Color = Color.Red xLine.LineWeight = Convert.ToSingle(0.5) cadImageFld.Converter.GetSection(ConvSection.Entities).AddEntity(xLine) cadImageFld.Con...
by fmonteiro
10 Apr 2014, 16:37
Forum: CAD .NET
Topic: CADimport Line Selection Function or properties
Replies: 1
Views: 12913

CADimport Line Selection Function or properties

Hello My question is about Entity properties. For example i draw 3 lines on the cadImageFld, after that i want to remove a specific line , then how the software knows about this selected entity ? Is there any specific properties of the Entity(Line) that i can differenciate from the other lines? I se...
by fmonteiro
10 Apr 2014, 15:14
Forum: CAD .NET
Topic: CADimport Line start Point error
Replies: 3
Views: 19513

Re: CADimport Line start Point error

thank you for your reply. can you please clearify the (0,0) point of the image, in the picture you can see that all (0,0) points are not the corner of the blank image. When I open a for example a 500*500 image which corner is the (0,0) point and why it is not located in the CADImage (0,0) default po...
by fmonteiro
09 Apr 2014, 19:02
Forum: CAD .NET
Topic: CADimport Line start Point error
Replies: 3
Views: 19513

CADimport Line start Point error

hello,, i have one problem with the reference point of x-axis(zero,zero). i draw one line, one circle and one polyline, all with (0,0) center/start as you can see in attached image. i have also an image (500*500) white color. Why the (0,0) points are not on the exact position of the image? Where can...