Available in the LEADTOOLS Imaging toolkit.
RgnFrameColor example for Visual Basic
LEAD1.RgnFrameColor = vbBlue LEAD1.RgnFrameType = RGNFRAME_COLOR LEAD1.SetRgnRect 10, 10, 200, 200, L_RGN_SET