Gets the current value of the specified annotation object's foreground color.
L_LTANN_API L_INT L_AnnGetForeColor(hObject, pcrFore)
Handle to the annotation object.
Address of the COLORREF variable to be updated with the annotation object's current foreground color.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
To see how the foreground color relates to the fill modes, refer to Illustration of Fill Options for Annotations.
Before calling this function, you must declare a variable of data type COLORREF. Then, pass the address of the variable in the
pcrFore parameter. This function will update the variable with the annotation object's current foreground color.
For an example, refer to L_AnnSetForeColor.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries