ArcFM Engine Developer Guide
Bitmap Property (IMMTreeTool)


Specifies the bitmap associated with the context menu item.
Syntax
'Declaration
 
<DispIdAttribute(1610678279)>
ReadOnly Property Bitmap As Integer
'Usage
 
Dim instance As IMMTreeTool
Dim value As Integer
 
value = instance.Bitmap
[DispId(1610678279)]
int Bitmap {get;}

Property Value

Long
Example
The following code sample illustrates how the Bitmap property should be set:
Visual Basic Copy Code
'Declare private variable in the general declarations section
Dim m_pBitmap As IPictureDisp

'In the class initialize procedure, load the bitmap from a resource file
Private Sub Class_Initialize()
    Set m_pBitmap = LoadResPicture(101, 0)
End Sub

'Set the Bitmap property for the IMMTreeTool interface
Private Property Get IMMTreeTool_Bitmap() As Long
    Set IMMTreeTool_Bitmap = m_pBitmap
End Property
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMTreeTool Interface
IMMTreeTool Members

 

 


Send Comment