AddBorder example for Delphi
LEADImage1.AddBorder (30, 30, 30, 30, BORDER_OUTSIDE,
BORDER_STYLE_OPAQUE,
BORDER_EFFECT_CURVEDIN,
0, BORDER_GRAD_INSIDEOUT,
RGB(200, 150, 150),
0, 200, False,
False, 0,
BORDER_SHADOW_LEFT, False);