Search found 6 matches
- 13 Apr 2010, 17:37
- Forum: CAD .NET
- Topic: Lower x,y and Higher x,y
- Replies: 1
- Views: 10894
Lower x,y and Higher x,y
I'm looking for the fastest way to retrieve the lower x,y of a CAD image.
I've found absHeight/Widht so I can add to this point to know the envelope rectangle coordinates of the current cad image.
Thanks for support.
m.
I've found absHeight/Widht so I can add to this point to know the envelope rectangle coordinates of the current cad image.
Thanks for support.
m.
- 30 Oct 2009, 12:42
- Forum: CAD .NET
- Topic: Import CADInsert
- Replies: 9
- Views: 33774
Re: Import CADInsert
Hello, sorry, but i don't understand your last reply. I tryied reading a dwg file and parsing all single entyties one by one using DWGImage but when it comes to CADInsert entyties it seems like i cannot do anything with it. But the rest of the pdf file i'm generating is correct and it's a vector gra...
- 29 Oct 2009, 11:39
- Forum: CAD .NET
- Topic: Import CADInsert
- Replies: 9
- Views: 33774
Re: Import CADInsert
Hello, i tried using this code: CADImage image = CADImage.CreateImageByExtension(dwgFile); image.LoadFromFile(dwgFile); using (StreamWriter io = new StreamWriter(pdfFile + "export.pdf", false)) { CADToPDF toPdf = new CADToPDF(image); toPdf.SaveToStream(io); } image.Dispose(); But this code gives me ...
- 28 Oct 2009, 13:04
- Forum: CAD .NET
- Topic: Import CADInsert
- Replies: 9
- Views: 33774
Re: Import CADInsert
Thanks for the answer.
Is there a way i can export the exact dwg file to a pdf file? Is there an "ExportPdf" method that I can use?
Thanks
Massimo
Is there a way i can export the exact dwg file to a pdf file? Is there an "ExportPdf" method that I can use?
Thanks
Massimo
- 27 Oct 2009, 17:24
- Forum: CAD .NET
- Topic: Import CADInsert
- Replies: 9
- Views: 33774
Re: Import CADInsert
Thanks, DWGImage worked.
But once i have the CADInsert entity, how am i supposed to transfer it to my pdf file i'm trying to generate?
It seems like the only information i have is the box that contains the entity.
Thanks
But once i have the CADInsert entity, how am i supposed to transfer it to my pdf file i'm trying to generate?
It seems like the only information i have is the box that contains the entity.
Thanks
- 20 Oct 2009, 20:00
- Forum: CAD .NET
- Topic: Import CADInsert
- Replies: 9
- Views: 33774
Import CADInsert
I'm having trouble importing an "Insert" object from a "dwg" file. I iterate all object in all layers of my dwg file but the iterator seems to skip the "Insert" object. To read all objects i use this code: private CADImage image; image.Converter.AutoInsert = true; // to get all the elements inside o...