ImageOptionsWidth Property
The width of the output image in pixels.

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

Property Value

Type: Int32
The width.
Examples
The following example demonstrates how to set the width of an output image in pixels.
C#
ViewerConfig config = new ViewerConfig();
ViewerImageHandler imageHandler = new ViewerImageHandler(config);
string guid = @"C:\storage\document.doc";

ImageOptions options = new ImageOptions();
options.Width = 800;

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