CreateBitmap Method
Description
Creates a Bitmap item.
Syntax
| Visual Basic | 
|---|
| Public Function CreateBitmap( _ ByVal filename As String, _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal bLinked As Integer, _ ByVal bStretch As Integer _ ) As Integer | 
Parameters
| True | create a link to the filename. | 
| False | copy the contents of the filename. | 
| True | stretch the bitmap item to fill the whole of the given extents. | 
| False | maintain the aspect ratio of the bitmap item within the given extents. | 
Remarks
This API method respects the axes angle setting: the x, y, z values are interpreted within the axes and all new items created will align to the axes angle.
If a group is open, graphics are added to the group, otherwise a new item is created.
Available: GEO D OD OM SISpy
Group:
Example
sis.CreateBitmap ("C:Data\photo.bmp", 100, 100, 500, 500, True, True )
 Search Tips
Search Tips