Creates a Bitmap item.
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 |
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. |
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 MD MM ME OD OM SISpy
Group:
sis.CreateBitmap ("C:Data\photo.bmp", 100, 100, 500, 500, True, True )
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).