iDim

Value that indicates the size of the grain. This value is ignored if the selected halftone pattern is HALFTONE_VIEW or HALFTONE_PRINT. If the pattern is not HALFTONE_VIEW or HALFTONE_PRINT, iDim should be >= 1. If this parameter is < 1 this method will return ERROR_INV_PARAMETER (20013).