DXF ImageDef TransparentColor

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
hayami
Posts: 18
Joined: 23 Jan 2013, 04:53

DXF ImageDef TransparentColor

Post by hayami » 03 Oct 2023, 08:13

Hi,
About the transparent color of ImageDef
I'm looking for DXF Reference.
Please tell me the URL.

Best Regards,
Ryosuke Hayami

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

Re: DXF ImageDef TransparentColor

Post by support » 04 Oct 2023, 15:45

hayami wrote:
03 Oct 2023, 08:13
Hi,
About the transparent color of ImageDef
I'm looking for DXF Reference.
Please tell me the URL.

Best Regards,
Ryosuke Hayami
Hi,
ImageDef doesn't have such a property. The TransparentColor property is availabe for TsgDXFImageEnt.
This property is available for our entities only (in the original DXF/DWG formats such property doesn't exist). The TransparentColor property is defined while reading the entity and after loading an image.

Kind regards,
Catherine.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

hayami
Posts: 18
Joined: 23 Jan 2013, 04:53

Re: DXF ImageDef TransparentColor

Post by hayami » 10 Oct 2023, 02:16


Hi,
ImageDef doesn't have such a property. The TransparentColor property is availabe for TsgDXFImageEnt.
This property is available for our entities only (in the original DXF/DWG formats such property doesn't exist). The TransparentColor property is defined while reading the entity and after loading an image.

Kind regards,
Catherine.
Thanks, that's helpful.

I have one more question.
Is there a property to disable TransparentColor?

Best Regards,
Ryosuke Hayami
Last edited by hayami on 11 Oct 2023, 07:55, edited 2 times in total.

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

Re: DXF ImageDef TransparentColor

Post by support » 12 Oct 2023, 11:08

Hello,

Thank you for the question.

Please use the example below to disable TransparentColor:

property Transparency: Boolean read GetTransparency write SetTransparency;
property TransparentColor: Cardinal read GetTransparentColor write SetTransparentColor;


Best regards,
Suraya
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

hayami
Posts: 18
Joined: 23 Jan 2013, 04:53

Re: DXF ImageDef TransparentColor

Post by hayami » 14 Nov 2023, 02:33

support wrote:
12 Oct 2023, 11:08
Hello,

Thank you for the question.

Please use the example below to disable TransparentColor:

property Transparency: Boolean read GetTransparency write SetTransparency;
property TransparentColor: Cardinal read GetTransparentColor write SetTransparentColor;


Best regards,
Suraya
Hi.
Thank you for the information.

Best regards,
Hayami

SalemBass
Posts: 1
Joined: 22 Feb 2024, 13:42

Re: DXF ImageDef TransparentColor

Post by SalemBass » 06 Mar 2024, 09:16

Thank you for the information.

Edit: It resolved my issue :)
Last edited by SalemBass on 27 Mar 2024, 08:20, edited 1 time in total.

Post Reply