Available in the LEADTOOLS Imaging toolkit. |
ShowAverageDlg Example for Visual Basic
Dim RasterImgEfxDlg As New LEADRasterDlgImgEfx_U Dim nRet As Integer RasterImgEfxDlg.UIFlags = AVERAGE_SHOW_PREVIEW + _ AVERAGE_SHOW_TOOL_ZOOMLEVEL RasterImgEfxDlg.Bitmap = LEAD1.Bitmap nRet = RasterImgEfxDlg.ShowAverageDlg(hWnd) If (nRet = 0 And RasterImgEfxDlg.DialogStatus = DLG_OK) Then LEAD1.Average RasterImgEfxDlg.Dimension End If