Search found 5 matches

by matt
15 Mar 2005, 12:29
Forum: Plugins for 3rd-party software
Topic: CAD Image registration
Replies: 1
Views: 12936

CAD Image registration

Paid for the component (single license), registered it using the instructions

However still get the evaluation message on images exported using CADImage.dll in my own application

Can you tell my why this is, this is causing me problems..

Cheers

Matt
by matt
04 Mar 2005, 16:25
Forum: CAD DLL
Topic: CAD Image bitmap handle in .NET
Replies: 5
Views: 26154

No worries - the solution I found works great so no problem

Cheers

Matt
by matt
26 Feb 2005, 17:21
Forum: CAD DLL
Topic: CAD Image bitmap handle in .NET
Replies: 5
Views: 26154

OK to continue this thread in conversation with myself [:D]... I solved it, in the following way - very simple actually - just make sure you release the Hdc handle or it will be black. System.Drawing.Bitmap b = new Bitmap(500,500); System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(b); g....
by matt
25 Feb 2005, 15:08
Forum: CAD DLL
Topic: CAD Image bitmap handle in .NET
Replies: 5
Views: 26154

Does this bitmap object have a BITMAPFILEHEADER ?

I am slightly confused as to what the pointer is actually to, i.e. the format of the bitmap at the address, maybe this is why I cannot load it?
by matt
22 Feb 2005, 11:12
Forum: CAD DLL
Topic: CAD Image bitmap handle in .NET
Replies: 5
Views: 26154

CAD Image bitmap handle in .NET

I am really struggling to get a System.Drawing.Bitmap from the bitmap handle returned by the DrawCADtoBitmap method. Now I know that this is not a HBITMAP handle and is in fact a pointer to the raw data, so I tried using the BitmapData class in .NET setting the scan0 to the IntPtr returned by the Dr...