Hey Bry
Set R = ThisDrawing.ModelSpace.AddRaster(p, Zero, 1, 0)
R.ScaleFactor = 12
Bry, I think p is the name of your raster?
Zero is 0,0? And you are inserting at a scale of 1.
the ScaleFactor works for me though maybe not for Ml
So, you have tried to insert at a 12 scale and it worked fine?
After inserting did you list the object and it returned a 12 for scale?
Do you have any recommendations?
Also, we had a discussion in this post about how The inserted Raster (via vba) gets an unique name on OAIM*****
When I saw that I said, WTF!
I resolved it with code:
RastImg.Name = Imgname 'imgname = The picked file name
However, my boss brough up a great point and it is the same with Xrefs;
If you insert them manually it will pick up the file name but you do not have to keep the filename as the xref name.
Why you would change it is a bit beyond me but it is possible.
Well the same principle applies with raster images evidentally.
If I say:
RastImg.Name = "Bryco"
Then sure enough my inserted raster will be name Bryco.
Mark