Click or drag to resize
DOCDocumentConvertToImages Method (ImageType, Int32, String, String)
Converts document to images with sepcified type and resolution, one image per page, and store the image under a local file directory. Throw an exception in condition: 1. the required assembly has not been added. 2. invalid resolution or zoom value input. Default: zoom value = 1, resolution = 96 dpi.

Namespace: RasterEdge.Imaging.MSWordDocx
Assembly: RasterEdge.Imaging.MSWordDocx (in RasterEdge.Imaging.MSWordDocx.dll) Version: (
public override void ConvertToImages(
	ImageType targetType,
	int resolution,
	string directory,
	string fileName


Type: RasterEdge.Imaging.BasicImageType
Image type to which the page in the document is converted.
Type: SystemInt32
The resolution used to render the document page to image. The default resolution is 96 dpi which is used to generate a image in orignial document dimension on a 96 dpi monitor.
Type: SystemString
Directory to save image files.
Type: SystemString
The name of the image files.
See Also