Start of change

WordMonochromeQuality

Adjusts binarization settings used by WordDocumentToImage.

Member of namespace

Convert

Syntax

bool WordMonochromeQuality (int method, float threshold)

Parameters

method
Sets the binarization method to either Threshold or FloydSteinbergDithering by using one of the following values:
  • 0 (for Threshold)
  • 1 (for FloydSteinbergDithering)
threshold
A floating value between 0 and 1 for rendering brightness. Lower values are darker.

Returns

Always True.

Level

Any level.

Details

Defaults compression to CCITT4 and sets the binarization settings used for black and white output. If this action is not called, the default values of Threshold and 0.5 will be used for monochrome compression.

Example:
WordMonochromeQuality(0,0.45)
WordDocumentToImage()
End of change