Use the Static Picturebox (StaticPicture) control to show pictures in the feature class form, for example, your company logo.
Property |
Description |
System Category |
|
ClassName |
StaticPicture |
Name |
Specifies the name. For example, $STATICPICTURE4. |
Specific Category |
|
FileName |
Specifies the directory and file name of the picture to be shown in the form (*.gif, *.bmp, and so on). |
StretchImage |
Specifies how the image is displayed. If True, the picture is stretched to the size of the control. If False, the picture is shown in its original size. |
Although the picture files can be stored in any folder, it is recommended that you store them in the <AutoCAD Map 3D>\Pics folder or a subfolder. Then, they are available with the dynamic path <AutoCAD Map 3D>\Pics and you need to enter the subfolder/filename only. If you use picture files with a static path, they are not available on a different computer unless the path is exactly the same. Alternatively, you can use //Servername to store the picture files on a server.
To show the pictures both in AutoCAD Map 3D and Infrastructure Application Extension , make sure that the pictures are stored both in the <AutoCAD Map 3D>\Pics folder and the <Infrastructure Application Extension>Pics folder or subfolder.
To show the pictures in Infrastructure Application Extension, if you do not use the <AutoCAD Map 3D>\Pics folder, you must map the folder names in the system table TB_GN_DIRECTORY_ALIAS.