TreeNode.AOTbitmapId Method

Returns the resource ID of the bitmap of the tree node.

Syntax

public int AOTbitmapId()

Run On

Called

Return Value

Type: int
The resource ID of the bitmap of the tree node.

Examples

The following example prints the resource ID of the Extended Data Types node in the Application Object Tree (AOT).

#AOT 
static void myJobAOTbitmapId(Args _args) 
{ 
    treeNode treeNode = TreeNode::findNode(#ExtendedDataTypesPath); 
 
    print treeNode.AOTbitmapId(); 
     
    pause; 
}

This job will print the integer 895. If you run the Tutorial resources form, you can see the bitmap and verify that it is the same as the one that is used for Extended Data Types in the AOT.

See Also

TreeNode Class

TreeNode.AOToverlayBitmapId Method