|
|
ObjectPictAdd Method
Adds a bitmap picture to the view.
Syntax
ObjectNumber = FlpGrf.ObjectPictAdd( FileName As String, Left As Single, Top As Single, Right As Single, Bottom As Single, OffsetHorz As Integer, OffsetVert As Integer, Style As Integer, Border As Integer )
The ObjectPictAdd Method has these parts:
|
Part |
Description |
|
FlpGrf |
An object expression that evaluates the Flipper Graph ASP object. |
|
FileName |
Name and path of <name.bmp> file on disk. |
|
Left |
Left position based of the current ObjectScaleType x-scale setting. |
|
Top |
Top position based of the current ObjectScaleType y-scale setting. |
|
Right |
Right position based of the current ObjectScaleType x-scale setting. |
|
Bottom |
Bottom position based of the current ObjectScaleType y-scale setting. |
|
OffsetHorz |
Offset the picture horizontally inside the frame. |
|
OffsetVert |
Offset the picture vertically inside the frame. |
|
Style |
0 - scale to fit, 1 - tile image inside area, 2 - native size (which allows for scrolling). |
|
Border |
0 - no border, 1 - raised outer, sunken inner edge, 2 - sunken outer, raised inner edge, 3 - raised outer and inner edges, 4 - sunken outer and inner edges. |
|
ObjectNumber |
This is the number of the object the picture was created as, this will be (-1) if an error has occured during load. |
Example
Remarks
This method adds a bitmap picture to the view. The picture can be displayed in a number of different ways, and large picture can be scrolled inside the frame.
See Also
All Object Routines, ObjectTextAdd Method, ObjectTextAddRect Method, ObjectRectAdd Method
![]() |
Last modified on: Friday, October 19, 2001