GetRgnBounds example for C++ Builder
void __fastcall TForm1::Test(TObject *Sender)
{
TRect RgnRect ;
if(Lead1->HasRgn)
{
Lead1->GetRgnBounds(RgnRect);
Edit1->Text = "Region Bounds : (Top , Left) (Buttom , Right) : ( " + IntToStr(RgnRect.Top) + " , " + IntToStr(RgnRect.Left) + ") , (" + IntToStr(RgnRect.Bottom) + " , " + IntToStr(RgnRect.Right) + ")";
}
}