3. System Classes : BitmapObject Class
 
Share this page                  
BitmapObject Class
BitmapObject Attributes
Attribute
Data Type
Description
Inherited
From
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
DBHandle
varchar(76)
A constructed, internal ID that points to the bitmap stored in the database (RW)
Defined
ErrorStatus
integer
Contains the error status from the last setting of FileHandle or DBHandle (R)
Defined
FileHandle
varchar(256)
Identifies an external file containing a bitmap (RW)
Defined
HeightPixels
integer
Is the height in pixels of the bitmap (R)
Defined
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
Picture
Picture
Links an OpenROAD BitmapObject to an ActiveX control attribute of type Picture (R)
Defined
WidthPixels
integer
Specifies the width in pixels of the bitmap (R)
Defined
 
BitmapObject Methods
Method
Return
Value
Description
Inherited From
DeleteFromDB()
integer
Deletes a bitmap from the database
Defined
Duplicate()
BitmapObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
InsertIntoDB
(
[tablename = varchar])
integer
Puts the bitmap image associated with the bitmap object into the specified table and constructs a DBHandle for the bitmap
Defined
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
LoadLong(object = Object)
integer
Loads the object with the data contained within a BitmapObject or StringObject
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
UpdateInDB()
integer
Replaces a bitmap in the database
Defined
WriteToFile
(filename
= varchar(256),
format = integer)
integer
Writes a bitmap associated with a bitmap object to a file
Defined