L_UINT uStructSize; 
   pBITMAPHANDLE pBitmap; 
   L_BOOL bZoomToFit; 
   L_INT nAmount; 
   L_INT nRadius; 
   L_INT nThreshold; 
   L_UINT uUnshrpMaskFlags; 
   L_UINT32 uDlgFlags; 
   LTCOMMDLGHELPCB pfnHelpCallback; 
   L_VOID  *pHelpCallBackUserData; 

The UNSHARPMASKDLGPARAMS structure provides information used to initialize the dialog box created by the LDialogImageEffect::DoModalUnsharpMask function. After the user closes the dialog box, this structure is updated with information about the user's selections.

Member Description
uStructSize Size of this structure, in bytes. Use the sizeof operator to calculate this value.
pBitmap Ignored.
bZoomToFit Flag that indicates the initial zoom level for previewing the image. Possible values are:
  Value Meaning
  TRUE Set the initial zoom level to "Zoom to fit".
  FALSE Set the initial zoom level to "Normal (1:1)".
nAmount Value that represents an adjustment factor. Possible values range from 0 - 500.
nRadius Value that indicates the size of the neighborhood used for blurring each pixel of the bitmap. Possible values range from 1 to 1000.
nThreshold Value that indicates the threshold for modifying the original value of the pixel. Possible values range from 0 - 255.
uUnshrpMaskFlags Flag that indicates the color space in which to apply the mask. Possible values are:
  Value Meaning
  RGB_SPACE [0x0001] Apply the mask in the RGB color space.
  YUV_SPACE [0x0002] Apply the mask in the YUV color space.
uDlgFlags User interface flags for this dialog, which determine the layout and action of the dialog. Possible values are:
  Value Meaning
  DLG_UNSHARPMASK_SHOW_CONTEXTHELP [0x00000002] dialog should contain a context sensitive help icon.
  DLG_UNSHARPMASK_SHOW_APPLY [0x00000080] Show the Apply button in the dialog. The dialog will not apply any effect unless the user presses the Apply button.
pfnHelpCallback Ignored.
pHelpCallBackUserData Ignored.
Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help