ShowMultiplyDlg Example for Visual Basic
Dim RasterImgEfxDlg As New LEADRasterDlgImgEfx
Dim RasterProc As New LEADRasterProcess
Dim nRet As Integer
Private Sub Multiply_Click()
RasterImgEfxDlg.Factor = 400
RasterImgEfxDlg.UIFlags = MULTIPLY_SHOW_PREVIEW Or _
MULTIPLY_SHOW_TOOL_ZOOMLEVEL
RasterImgEfxDlg.Bitmap = LEADRasterView1.Raster.Bitmap
nRet = RasterImgEfxDlg.ShowMultiplyDlg(hWnd)
If (nRet = 0 And RasterImgEfxDlg.DialogStatus = DLG_OK) Then
RasterProc.Multiply LEADRasterView1.Raster, RasterImgEfxDlg.Factor
End If
End Sub