ImageOptionsConvertImageFileType Property
The format of the image file, default is PNG.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public ConvertImageFileType ConvertImageFileType { get; set; }

Property Value

Type: ConvertImageFileType
The type of the image file.
Remarks
Specifies output image format.
Examples
The following example demonstrates how to render the document into JPG image type.
C#
ViewerConfig config = new ViewerConfig();
ViewerImageHandler imageHandler = new ViewerImageHandler(config);

ImageOptions options = new ImageOptions();
options.ConvertImageFileType = ConvertImageFileType.JPG;
string guid = @"C:\storage\document.doc";

List<PageImage> pages = imageHandler.GetPages(guid, options);
See Also