Converter.ConvertToImages
Converter ConvertToImages method. Converts the input file pages to images.
ConvertToImages(string, ImageSaveOptions)
Converts the input file pages to images.
public static Stream[] ConvertToImages(string inputFile, ImageSaveOptions saveOptions)
Parameter | Type | Description |
---|---|---|
inputFile | String | The input file name. |
saveOptions | ImageSaveOptions | The output’s image save options. |
Return Value
Returns array of image streams. The streams should be disposed by the end user.
Examples
Demonstrates how to convert a DOCX document to images and save the output to an array of streams.
Stream[] pages = Converter.ConvertToImages(MyDir + "Simple.docx", new ImageSaveOptions(SaveFormat.Png));
See Also
- class ImageSaveOptions
- class Converter
- namespace Wordize.Converting
- assembly Wordize
ConvertToImages(Stream, ImageSaveOptions)
Converts the input stream pages to images.
public static Stream[] ConvertToImages(Stream inputStream, ImageSaveOptions saveOptions)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | The input stream. |
saveOptions | ImageSaveOptions | The output’s image save options. |
Return Value
Returns array of image streams. The streams should be disposed by the end user.
See Also
- class ImageSaveOptions
- class Converter
- namespace Wordize.Converting
- assembly Wordize