Transparent Bitmaps on AxCADviewX1 ?

Discuss and ask questions about CADViewX (Lite and Pro versions).

Moderators: support, SDS, admin

Post Reply
Andy_1a
Posts: 4
Joined: 08 Nov 2010, 02:42

Transparent Bitmaps on AxCADviewX1 ?

Post by Andy_1a » 24 Nov 2010, 13:02

As a new user to CadviewX I need to show transparent Bitmaps(png) on CADviewX.

I tried without success (Button, Picturebox...)
success with RectangleShape1 with Backgroundimage, but only on the Form, NOT on CAD Control.

thanks for testing
Andy
(Windows Forms, vb.net 2010)

support
Posts: 2930
Joined: 30 Mar 2005, 11:36
Contact:

Re: Transparent Bitmaps on AxCADviewX1 ?

Post by support » 24 Nov 2010, 15:48

Hello.
CADViewX import bitmaps as ImageEnt objects. Transparency must be set for such objects. Unfortunately current CADViewX version doesn't provide programming access to ImageEnt objects. Because of this you can't set transparency until API will be widened.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Andy_1a
Posts: 4
Joined: 08 Nov 2010, 02:42

Re: Transparent Bitmaps on AxCADviewX1 ?

Post by Andy_1a » 13 Dec 2010, 11:29

Thanks,
but as yet without success.
I want to show this transparent bitmap over an SVG:
http://www.traum-touren.de/develop/car_orange_0.png

The pixel position is calculated before. It should look like:
http://www.traum-touren.de/develop/transpacheck1.png
(created manually)

andy

support
Posts: 2930
Joined: 30 Mar 2005, 11:36
Contact:

Re: Transparent Bitmaps on AxCADviewX1 ?

Post by support » 14 Dec 2010, 18:18

Hello.
Current CADViewX version doesn't allow set ImageEnt transparency. We need add correspond property to library API at first.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Andy_1a
Posts: 4
Joined: 08 Nov 2010, 02:42

Re: Transparent Bitmaps on AxCADviewX1 ?

Post by Andy_1a » 16 Dec 2010, 17:00

Solved!
Zorder(0) in vb6 and BringToFront works.

anyway thanks for the answers

andy

support
Posts: 2930
Joined: 30 Mar 2005, 11:36
Contact:

Re: Transparent Bitmaps on AxCADviewX1 ?

Post by support » 17 Dec 2010, 16:04

Hello Andy.
I was thinking you need transparent part of CADImage, not transparent control. Sorry.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply