resize an image

1
Jose Oscar Samper
4/27/2022 4:00 PM


Greetings.

I want to import an image into a model and resize it.

I have tried with

C# Code:
 DxfImageDef imageDef = new DxfImageDef(model);
                        imageDef.Filename = signature_dialog.FileName;
           
                        imageDef.Size = new Size2D(50d, 25d);

And I can't.

Thank you

Wout
4/27/2022 7:32 PM

The documentation has example code.

- Wout

1