beautypg.com

Bitmapfilepath, Classid – Echelon OpenLNS User Manual

Page 308

background image

OpenLNS Programmer's Reference

271

BitmapFilePath

Summary

Specify the path and file name of a bitmap (*.BMP file)

representation of the object.
The bitmap files are used to store object images which may

be accessed by a director level LNS component application. A

bitmap may be of any size, although the recommended

dimensions are 40x80 pixels.
See the

IconFilePath p

roperty for related information.

Availability

Local clients.

Syntax

bmpFilePath = object.BitmapFilePath

Element

Description

bmpFilePath The bitmap path and file name.
object

The object to be acted on.

Data Type

String.

Read/Write

Read/write.
If you write to this property, you must specify the bitmap’s

full path and file name (for example,

C:\MyBMPs\Object.BMP).

Added to API

Prior to LNS Release 3.0.

ClassId

Summary

Identifies the object class of this object.
This property allows the object type to be determined when it

is unknown (for example, when the object was accessed using

the Parent property of another object).

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

DataPoint

object in the

ConstClassIds

constant:
36 lcaClassIdDeviceTemplate

object

The object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is