Adds a bitmap image to the drawing from a user-specified folder location.
Basic syntax:
<IMAGE X='23.8' Y='430.2645' Width='800' Sheet='NEW' Height='600' FileName='C:\Images\MyImage.bmp' Embed='True'/>
The IMAGE element contains five mandatory attributes:
-
X specifies the location of the image in the X plane.
-
Y specifies the location of the image in the Y plane.
-
Width specifies the pixel width of the image on the drawing.
-
Height specifies the pixel height of the image on the drawing.
-
Filename specifies the full path location and filename of the image to add. You must use an absolute path.
Optionally, you can also specify the following attributes:
-
Embed indicates whether the image is stored with the POD and the drawing or stored on disk. To embed the image with the POD/drawing, set this attribute to True. The default value is False.
-
Sheet identifies on which sheet the image is added. Specify a numerical value (1, 2, 3, and so on). Alternatively, set Sheet to New to create a new sheet for the image. The default value is -1, which places the image on all drawing sheets.
-
The software converts any non-bitmap image to a bitmap.
-
SmartDGN output supports only embedded images.
-
For SmartDWG, SmartDGN, and SmartDGN8 output, the software places the image on the main sheet when Sheet='New'.
-
When Sheet='New', the software creates only one new sheet. Multiple instances of the Sheet attribute do not result in additional new sheets.