Search found 3 matches
- 11 Aug 2009, 02:14
- Forum: CAD .NET
- Topic: Import DXF or WMF image
- Replies: 1
- Views: 9521
Import DXF or WMF image
Hello, I am using this code: Dim cadImageFld As CADImage cadImageFld = CADImage.CreateImageByExtension(imageFName) cadImageFld.LoadFromFile(imageFName) This will open a DXF or BMP with no problem. When I try to open a WMF file I get the error: Object reference not set to an instance of the object. I...
- 10 Jul 2009, 20:59
- Forum: CAD .NET
- Topic: How to convert an hpgl to a bmp from a WPF application
- Replies: 2
- Views: 12133
Re: How to convert an hpgl to a bmp from a WPF application
Hi, I used the following method: Dim cadImageFld As CADImage Dim tmp As String = System.IO.Path.Combine(tmpDir, Now.Ticks & ".bmp") cadImageFld = CADImage.CreateImageByExtension(imageFName) cadImageFld.LoadFromFile(imageFName) If (Not cadImageFld Is Nothing) Then Dim tmpRect As New DRect(0, 0, 1280,...
- 10 Jul 2009, 17:29
- Forum: CAD .NET
- Topic: How to convert an hpgl to a bmp from a WPF application
- Replies: 2
- Views: 12133
How to convert an hpgl to a bmp from a WPF application
Hello, I have a WPF application that reads a DXF, converts it to a bitmap and then warps the image shape to fit on a work surface. This is used with a projector and the user input is a barcode that indicates the file name. I have a customer who wants me to support HPGL. What is the easiest way to co...