Search found 16 matches

by Masoud
14 Nov 2023, 13:15
Forum: CAD .NET
Topic: convert cadimage to pdf
Replies: 6
Views: 1245

Re: convert cadimage to pdf

Hello, thank you for your advice I was able to get PDF output with these two tasks First, with the help of these commands: CADImage cadImage = CADImage.CreateImageByExtension(OutputPath + "\\" + "FlowDiagram.dwg"); cadImage.IsWithoutMargins = true; cadImage.LoadFromFile(OutputPath + "\\" + "FlowDiag...
by Masoud
10 Nov 2023, 13:27
Forum: CAD .NET
Topic: convert cadimage to pdf
Replies: 6
Views: 1245

Re: convert cadimage to pdf

Thank you Catherine
Sure
Done
thank you so much
have nice day
by Masoud
09 Nov 2023, 17:43
Forum: CAD .NET
Topic: convert cadimage to pdf
Replies: 6
Views: 1245

Re: convert cadimage to pdf

hello catherina
im building my image with .net framework
my cad.net ver is 14.1.0.47734
by Masoud
05 Nov 2023, 14:38
Forum: CAD .NET
Topic: convert cadimage to pdf
Replies: 6
Views: 1245

convert cadimage to pdf

Hello, I am converting the cadimage I designed to dwg. But with the code below, I try to convert it to PDF, but unfortunately my output file is created without error, but it is empty IsFlowDiagramExportDWG = CADtoDWG.SaveAsDWG(CadImage, Path + "\\" + "flowdiagram.dwg"); CADImage cadImage = CADImage....
by Masoud
16 Oct 2023, 12:38
Forum: CAD .NET
Topic: Persian Font
Replies: 0
Views: 988

Persian Font

Does cad.net support Persian font?
I purchased cad.net. and I want to display the text in persian font
tank you for your help
by Masoud
26 Apr 2023, 23:57
Forum: CAD .NET
Topic: Difrent Cartesian coordinate system in Autocad and cad.net
Replies: 1
Views: 1241

Difrent Cartesian coordinate system in Autocad and cad.net

Hello, I changed the coordinate axis in AutoCAD using the ucs command. But this coordinate axis change is not applied in cad.net. For example, before the change in the coordinate axis, each software displays the coordinates of a line accurately. But after changing the coordinate axis in autocad, the...
by Masoud
07 Mar 2023, 18:26
Forum: CAD .NET
Topic: access all cadpicturebox entities
Replies: 3
Views: 1521

Re: access all cadpicturebox entities

thank you Catherine
by Masoud
05 Mar 2023, 16:55
Forum: CAD .NET
Topic: access all cadpicturebox entities
Replies: 3
Views: 1521

access all cadpicturebox entities

Hello
How can I access all cadpicturebox entities?

I want to delete all the text entities created by the cadpicturebox environment

tnx for your help
by Masoud
28 Feb 2023, 13:35
Forum: CAD .NET
Topic: Difference between mouse position click value and selected entities position value
Replies: 2
Views: 1615

Re: Difference between mouse position click value and selected entities position value

Thank you so much Catherine,To complete the code you sent, I am sending this code private DRect GetDrawingRect() { if (this.CadImage != null) return DRect.GetRealBox(this.CadImage.CurrentLayout.Box, this.CadImage.Painter.DrawMatrix); else return CadEditorControl_cec.ClientRectangle; }
by Masoud
27 Feb 2023, 14:48
Forum: CAD .NET
Topic: Add CADEditorControl In Windows Form
Replies: 2
Views: 1396

Re: Add CADEditorControl In Windows Form

exactly , thank you so much
by Masoud
26 Feb 2023, 18:23
Forum: CAD .NET
Topic: Difference between mouse position click value and selected entities position value
Replies: 2
Views: 1615

Difference between mouse position click value and selected entities position value

i get mouse position from cadpicturebox with this code: this.CADPictureBox.PictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.CadPictBox_MouseDown); private void CadPictBox_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { int x = e.X; int y = e.Y; } And I get th...
by Masoud
25 Feb 2023, 12:16
Forum: CAD .NET
Topic: Add CADEditorControl In Windows Form
Replies: 2
Views: 1396

Add CADEditorControl In Windows Form

Hi
How can I add CADEditorControl to WindowsForm?
by Masoud
08 Aug 2022, 11:16
Forum: CAD .NET
Topic: How to Find Area and Perimeter of a Closed LWPolygon
Replies: 4
Views: 2438

Re: How to Find Area and Perimeter of a Closed LWPolygon

Thank you Catherine I wrote this function and put it in the form so that others can use it public class Point3D { public double X { get; set; } public double Y { get; set; } public double Z { get; set; } public Point3D() { this.X = 0; this.Y = 0; this.Z = 0; } } private double CalculateAreaPolygon(L...
by Masoud
07 Aug 2022, 00:20
Forum: CAD .NET
Topic: How to Find Area and Perimeter of a Closed LWPolygon
Replies: 4
Views: 2438

How to Find Area and Perimeter of a Closed LWPolygon

hello
How to Find Area and Perimeter of a Closed LWPolygon in cadpicturebox?
by Masoud
06 Aug 2022, 09:32
Forum: CAD .NET
Topic: Get the coordinates of the selected line
Replies: 1
Views: 1637

Get the coordinates of the selected line

Hello
How can I get the coordinates of the line drawn and selected by the mouse?