.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set ImageRaster size and position

1 REPLY 1
Reply
Message 1 of 2
Anonymous
224 Views, 1 Reply

Set ImageRaster size and position

Hi,

I have successfully added a RasterImageDef into the image manager, and inserted plenty of RasterImage instances into my drawing... But I don't know how to set their size and position.
I tried to set a vector2d in SetClipBoundary... but still searching the right way.

"Help! I need somebody, Help! Not just anybody, help! You know I need someone, heeeeelp !"

- David
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Ok, using orientation property, its possible to set position, and orientation. But I still have one remaining problem.

The rasterimage is added into a blockdefinition, with a rasterimagedef.

When I want to insert into the modelspace a blockreference, the image is shown as an empty rectangle...

I have to find the entity typed as RasterImage in my new blockreference, and create a new resterimage, and then adding it to the modelspace and into the database trough the open transaction.

Is it possible to show the rasterimage of the blockreference ?

- David

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost