Usage Boolean GetEventObjColorInf(StandardColor As Short*, Red As Short*, Green As Short*, Blue As Short*)
Description This method retrieves the color of the object clicked on. You can use this function in the UserDefined event handler.
Parameters StandardColor Short* Available values: acoBlack, acoGray, acoBlue, acoRed, acoPurple, acoGreen, acoLBlue, acoYellow, acoLGray, acoWhite.
Red Short * Red component of RGB.
Green Short * Green component of RGB.
Blue Short * Blue component of RGB.
Return value TRUE on success, otherwise FALSE.
Programming Notes This method works for only aotLine, aotRect, aotNote, aotHighlight, aotCircle, aotRoundRect, aotText, aotFreeHand object. See GetEventObjProperties method. This method does not pass parameters as reference.