Page 1 of 1

DXF ImageDef TransparentColor

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

Best Regards,
Ryosuke Hayami

Re: DXF ImageDef TransparentColor

Posted: 04 Oct 2023, 15:45
by support
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.

Re: DXF ImageDef TransparentColor

Posted: 10 Oct 2023, 02:16
by 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.
Thanks, that's helpful.

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

Best Regards,
Ryosuke Hayami

Re: DXF ImageDef TransparentColor

Posted: 12 Oct 2023, 11:08
by support
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

Re: DXF ImageDef TransparentColor

Posted: 14 Nov 2023, 02:33
by hayami
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

Re: DXF ImageDef TransparentColor

Posted: 06 Mar 2024, 09:16
by SalemBass
Thank you for the information.

Edit: It resolved my issue :)