TreeNode.AOTbitmapId Method [AX 2012]
Returns the resource ID of the bitmap of the tree node.
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.
Community Additions
ADD
Show: