Reply

dft and image objects

[ Edited ]

 

I seek advice!

Using SE v18 ( soon to upgrade to v20) I try to place an image in .dft but fail to find out how.

I have tried to use SmartFrame2d.Embed/Link to no avail  Any hint is most welcome!

Oddly though, I can place e.g a .jpg using to SE GUI and I can find it via the API if I use the DrawingObjects Collection. Thus I dare conclude that there should be some way to do it.

Another possible soultion would be to use ComplexString. However, then I need advice so as to convert an image to the required set of piecewise lines that build the image. (Which is what seem to happen if I cut and paste the logo into the Sheet)

The image is a set characters in two particular fonts.

My task is to process some 100 thousand drawings in our repository and replace the logo for our company.

Rgrds//Maria

 

Posted by: Maria Reinhammar
Post date: 1/24/2008 7:36:07 PM

2 REPLIES

RE: dft and image objects

[ Edited ]

Maria,

 

Symbol2d is what you're looking for. Assuming that you have an SE Draft open:

 

Application -> ActiveDocument -> ActiveSheet -> Symbols -> Add(...)

 

Posted by: Jason Newell
Post date: 1/27/2008 7:50:33 PM

RE: dft and image objects

[ Edited ]

 

THANKS!!

That works nicely!!

I do, however, experience that .jpg does not show up while .bmp and .gif does. This regardless how I set the first parameter.. My problem is essentially solved anyway!

 

Posted by: Maria Reinhammar
Post date: 1/29/2008 7:08:24 PM