Accusoft ImagXpress 12
DocumentZoomSmooth Method
See Also  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : DocumentZoomSmooth Method

Glossary Item Box

Description

Replaces current 1 bit-per-pixel images with an image whose width and height have been doubled and whose pixels have been smoothed.

Syntax

Visual Basic
Public Sub DocumentZoomSmooth() 

Remarks

This method smoothes letters and lines, by first doubling their width and height, then dilates and erodes as required. The result is a larger image, with clearer letters and lines.

 

Output

  • If no image is present, an error is indicated appropriately. The current image is replaced with a larger smoother image. The component's current image is zoomed and smoothed, if no errors occur. If errors occur, the current image is not modified.
  • IPImageWasModified is set to true if the image was modified, false if the image was not modified.

Using DocumentZoomSmooth

1. Load a 1 bit image from a file or stream input.

2. Call DocumentZoomSmooth.

3. The current image is replaced with a larger smoother image.

 

Note: Available in Professional Edition.

See Also

©2013. Accusoft Corporation. All Rights Reserved.