ShowGaussianBlurDlg example for C++ Builder

void __fastcall TForm1::ShowGaussianBlurDlg1Click(TObject *Sender) 
{
   L_INT nRet; 
   LEADDlgImgEffect1->Radius = 5; 
   LEADDlgImgEffect1->DlgFlags = DLG_GAUSSIANBLUR_SHOW_PREVIEW |
                                 DLG_GAUSSIANBLUR_SHOW_TOOL_ZOOMLEVEL; 

   LEADDlgImgEffect1->LEADImage = LEADImage1; 

   nRet= LEADDlgImgEffect1->ShowGaussianBlurDlg ( this ); 
   if ( nRet == SUCCESS_DLG_OK ) 
   {
      LEADImage1->GaussianFilter ( LEADDlgImgEffect1->Radius ); 
   }